I get the scope error: "errors": [ { "message": "One or more of the following scopes are required.", "context": { "requiredGranularScopes": [ "crm.objects.leads.read" ] } } ],
But in my app I have that scope allowed I already rotate the key and use the new one. I am using the access token. I also just create some leads and didn't have any troubles, the problem is reading only.
I have tested with the same permission you have listed and I am getting the correct results. So maybe there could be a deployment issue with your app or perhaps a subscription level issue.
I'd be happy to chat through it on a free call if you'd like. Feel free to reach out.
Pauric
Pauric Mc Connell Software Engineer Baskey Digitial