These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

"error": "User doesn't have permissions for this request"

(edited)

Hi,
We are trying to pull one of our user's data using this call.

curl --location --request GET 'https://api.easyship.com/shipment/v1/shipments?page=0&per_page=100&created_at_from=2022-04-03T07:04:...' --header 'Authorization: Bearer pr' --header 'Content-Type: application/json'

And getting this error.

"error": "User doesn't have permissions for this request"
when trying to fetch shipments:
curl --location --request GET 'https://api.easyship.com/shipment/v1/shipments?page=0&per_page=100&created_at_from=2022-04-03T07:04:...' --header 'Authorization: Bearer ' --header 'Content-Type: application/json'

Any advice on what may have gone wrong here?