I’m very new to Square API, I’m writing an app for my own restaurant. I created an app and am trying to access the API POST/v2/orders/search
curl https://connect.squareup.com/v2/orders/search
-X POST
-H ‘Square-Version: 2025-03-19’
-H ‘Authorization: Bearer XXXXXXXX’
-H ‘Content-Type: application/json’
-d ‘{
“location_ids”: [
“AAAAA”
]
}’
And I get the error
{
“errors”: [
{
“code”: “FORBIDDEN”,
“detail”: “You have insufficient permissions to perform that action.”,
“category”: “AUTHENTICATION_ERROR”
}
]
}
4 posts - 3 participants