Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

Why am I getting "The API key is invalid" error?

You will get invalid API key error in any of the following cases:

  1. Incorrect API key

    Please ensure that you have provided the exact API key associated with your Zoho account in the API request. You can confirm the correct API key from your Office Integrator dashboard.

  2. API key registered in a different domain

    If you have registered your API key in EU domain(.eu) and configured API requests to US domain( .com), and vice versa, you will get "the API key is invalid" error. To resolve this issue, you need to send all your requests to the proper domain (US or EU).

    For example, if you have generated your API key in EU domain and you want to open documents you will have to send your API requests to Zoho Writer's EU domain - https://writer.zoho.eu/v1/officeapi/document  

    Similarly, if your developers are accessing Office Integrator Help documentation from EU, they will be automatically redirected to the EU help page and the sample API requests will reflect EU domain URLs. In such case, the US domain generated API key will not work and throw an invalid key exception. You can create a new Zoho account in EU domain and generate a separate API key from https://officeapi.zoho.eu/ for the API requests to work.

  3. API key is inactive

    If you have closed your Zoho Account, the API key associated with it automatically becomes inactive and you will get invalid API key error.

Helpful?811
Updated: 3 years ago
Share :