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

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.

    • Related Articles

    • Serverless Functions - Using API Key

      Introduction A severless function within your CRM can be invoked from any third-party application or within the CRM using a webhook. However, generally most of the webhooks do not support OAuth2, save for a few of them. In that case, you can execute ...
    • Error Messages

      Error Code Description 4000 Please use Authtoken, instead of API ticket and APIkey. 4500 Internal server error while processing this request 4501 API Key is inactive 4502 This module is not supported in your edition 4401 Mandatory field missing 4600 ...
    • Is the API key user-specific or organization-specific?

      The Zoho CRM API key is organization-specific. You can use the same API Key for all users with different ticket IDs (user-specific).
    • Can everyone in a company use the same API Key?

      Yes, everyone in your company can use the same API key for development and integration of third-party applications.
    • Zoho Service Communication Key

      Communication between Zoho services is important for proper management of information. The Zoho Service Communication Key (ZSC) enables to fetch data stored in Zoho Recruit from other Zoho services. You need the ZSC Key to integrate your Recruit ...