I created a developer sandbox account and add my app to Marketplace Manager.
I have all permissions in the app.
https://monosnap.com/direct/iItgYQjWFYxj0ha6Aucszv9Ul1qp9M
I was trying to call endpoints /roles & /roles/{id} & /users/{id}/roleAssignments
Example:
curl --location --request GET 'https://mycompany.pipedrive.com/api/v1/roles' \
--header 'Authorization: Bearer 7550228:11547632:9c0efca32c6d93c5353dd5a7e2551764302dfe47'
and got the response:
{
"success": false,
"error": "Scope and URL mismatch",
"errorCode": 403
}
Why can’t I access these endpoints?
Other endpoints are working. For example, /users, /users/{id}