Zoho Books API: Code 57: "You are not authorized to perform this operation"
Hello,
I've been trying to setup API calls via TS/JavaScript, to create invoices, but keep running into code 57, when using OAuth access token flow, with scope ZohoBooks.fullaccess.all;
Initiating the OAuth with;
Which I am successfully acquiring refresh/access tokens.
Then calling Books API invoice endpoint;
I have console logged the Zoho Org ID, and confirmed the access tokens are being passed correctly, during testing.
Response is always;
- data: {
- code: 57,
- message: 'You are not authorized to perform this operation'
- }
Any suggestions?