Unable to list invoices with self client
I am obtaining authorization token using self client as follows:
I get the token which I then use with curl to call the API as follows:
- curl --request GET 'https://invoice.zoho.com/api/v3/invoices' \
--header 'Authorization: Zoho-oauthtoken 1000.xxxxxxxxxxxxxx' \
--header 'X-com-zoho-invoice-organizationid: 123456789'
But I always get the error: `{"code":57,"message":"You are not authorized to perform this operation"}`.
I have tried changing the scope to `ZohoInvoice.invoices.READ` but still I get the same error. What can I do to fix this?