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
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方