Access Denied Troubleshooting Guide

Access Denied Troubleshooting Guide

If you are encountering "Access Denied" error while using the Anchor API, it may be due to one or more of the following reasons:

Possible Causes:

  1. Insufficient Permissions – The API key lacks the necessary permissions to create a counterparty.

  2. Incorrect Environment – The API key is being used in the wrong environment (e.g., using sandbox keys in production).

  3. Expired API Key – The API key has expired and is no longer valid.

Resolution Steps:

  1. Verify API Key Permission: Check if the API key has the necessary access rights to make the API request.

  1. Confirm the Correct Environment: Ensure you are using the correct API key for the appropriate environment (sandbox vs. production).

  2. Check API Key Expiry: If the API key is expired, generate a new one.

If possible, generate a new key with the required permissions.

Steps to Generate a New API Key in Anchor: 

If you need to create a new API key, follow these steps:

  1. Log in to the Anchor Dashboard.

  2. Navigate to Developers > API Keys.

  3. Click on Create API Key.

  4. Assign necessary permissions.

  5. Save and use the new API key in your requests.

If the issue persists, refer to the Anchor API documentation or contact support team for further assistance.

    • Related Articles

    • Create an API Key on Anchor

      API keys are essential for interacting with Anchor's API services securely. Here's a step-by-step guide on how to set up API keys on Anchor: Log into Anchor Dashboard and click on Setting at the button left of the screen. Select Developers and click ...