Hello team,
I have access_token and i am passing it in ‘Authorization: Bearer’ for fetch all leads api.
I have try to run the api from code as well from the postman, on both the end i got this response :
(
[success] =>
[error] => Scope and URL mismatch
[errorCode] => 403
)
and without lead all api perfect working like person.
As access_token is sensitive information I would recommend edit this post and delete it from here. As for leads scope, when did you get this access token, before or after you enabled leads scope for your app?
Just in case, here is a bit info about what happens when you change an app scopes
Thanks. It seems that after refresh the token, its scopes are lost https://api-proxy.pipedrive.com/leads
{“organization_id”:7,“title”:“add test lead”}
response:
(403; {“success”: false, “error”: “Scope and URL mismatch”, “error Code”: 403}).