Zoho Recruit API Token Self-Client

Zoho Recruit API Token Self-Client

Hi,

I'm trying to use the Bulk API with Self-Client authentication.
I have created a client and a code for it.

I have already tried multiple codes with multiple scopes in it:

ZohoRecruit.modules.READ
ZohoRecruit.modules.all ZohoRecruit.bulk.all
ZohoRecruit.bulk.ALL ZohoRecruit.modules.candidate.ALL

and some other permutations.

I can then successfully call the https://accounts.zoho.eu/oauth/v2/token endpoint each time and get an access token and I can see the scopes in the response that I entered in the Developer console.

Then If I try to call any endpoints:
https://recruit.zoho.com/recruit/v2/Candidates
https://recruit.zoho.eu/recruit/v2/Candidates
https://recruit.zoho.com/recruit/bulk/v2/read/123/result
https://recruit.zoho.eu/recruit/bulk/v2/read/123/result
https://recruit.zoho.com/recruit/bulk/v2/read
https://recruit.zoho.eu/recruit/bulk/v2/read

with the following header:
Authorization: Zoho-oauthtoken 1000.xxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxx

Each time I get 
{
"code": "INVALID_TOKEN",
"details": {},
"message": "invalid oauth token",
"status": "error"
}

The token is fresh, didn't expire as it lasts 1 hour.
No matter which endpoint I call and which token with different scopes I use I get the same error.

An example call looks like this:



What do I miss?

Thanks,
Viktória