I'm trying to query the Zoho Sprints API using the PostMan collection but when I query the endpoint I'm getting the following response:
{
"code": 7601,
"message": "Invalid oauthToken",
"status": "failed"
}
I'm querying the
https://sprintsapi.zoho.com/zsapi/teams/ endpoint as that is the simplest one but I'm getting the same error on all endpoints. I'm using the provided PostMan collection so I'm assuming it is all correct.
I'm generating the token using the PostMan Authentication for OAuth 2.0 - I've included every scope (see below) to eliminate whether or not that is the issue.
These are my settings - I'm pretty sure this part is ok as I'm getting the token fine (the screen popups up, I grant access and the token is added to PostMan). I'm using the EU domain for the token but there is only the .com endpoint (just in case that makes a difference).
ZohoSprints.teams.READ,ZohoSprints.teams.CREATE,ZohoSprints.teams.UPDATE,ZohoSprints.teams.DELETE,ZohoSprints.projects.READ,ZohoSprints.projects.CREATE,ZohoSprints.projects.UPDATE,ZohoSprints.projects.DELETE,ZohoSprints.epic.READ,ZohoSprints.epic.CREATE,ZohoSprints.epic.UPDATE,ZohoSprints.epic.DELETE,ZohoSprints.sprints.READ,ZohoSprints.sprints.CREATE,ZohoSprints.sprints.UPDATE,ZohoSprints.sprints.DELETE,ZohoSprints.items.READ,ZohoSprints.items.CREATE,ZohoSprints.items.UPDATE,ZohoSprints.items.DELETE,ZohoSprints.projectsettings.READ,ZohoSprints.projectsettings.CREATE,ZohoSprints.projectsettings.UPDATE,ZohoSprints.projectsettings.DELETE,ZohoSprints.webhook.READ,ZohoSprints.webhook.CREATE,ZohoSprints.webhook.UPDATE,ZohoSprints.webhook.DELETE,ZohoSprints.meetings.READ,ZohoSprints.meetings.CREATE,ZohoSprints.meetings.UPDATE,ZohoSprints.meetings.DELETE,ZohoSprints.timesheets.READ,ZohoSprints.timesheets.CREATE,ZohoSprints.timesheets.UPDATE,ZohoSprints.timesheets.DELETE,ZohoSprints.release.READ,ZohoSprints.release.CREATE,ZohoSprints.release.UPDATE,ZohoSprints.release.DELETE,ZohoSprints.teamusers.READ,ZohoSprints.teamusers.CREATE,ZohoSprints.teamusers.UPDATE,ZohoSprints.teamusers.DELETE,ZohoSprints.extensions.READ,ZohoSprints.extensions.UPDATE,ZohoSprints.extensions.WRITE
As you can see in the above screenshot - it responses with Invalid oauthToken. I'm submitting instantly with a new token so it's not that it is expired.
I've set the header prefix for the token to 'Zoho-oauthtoken '
I've also tried submitting it with 'Bearer ' and with no prefix - none of which worked.
I'm stumped. Any ideas? Thanks!