#hello - the Authorisation headers are getting deleted. This is causing teh call failures. Can you h

1 messages · Page 1 of 1 (latest)

long oysterBOT
#
AI-generated Answer for shobhit_ai_agents

It seems like the issue might be related to the authorization header setup. To ensure your API calls work correctly, please verify the following:

  1. Use the Correct Header: The header for authentication should be set as xi-api-key. Avoid using Authorization or Bearer as they are not supported.

  2. Check API Key: Ensure that your API key is copied correctly and has the necessary permissions.

  3. Header Persistence: If the headers are being deleted, check your integration or tool (e.g., Postman, Zapier, etc.) to ensure it is configured to retain the headers during the request.

If the issue persists, please provide more details about your setup, such as the tool or platform you're using, and any error messages you're receiving. This will help in troubleshooting further.

charred parrot
#

@brittle canopy - Can you pls check

long oysterBOT
#
AI-generated Answer for shobhit_ai_agents

It seems like the issue you're experiencing with authorization headers might be related to how they are being set up or handled during API calls. To ensure proper functionality, please verify the following:

  1. Correct Header Format: Use "xi-api-key" as the header for authentication instead of "Authorization" or "Bearer". This is the required format for ElevenLabs API.

  2. API Key Handling: Ensure the API key is copied correctly and pasted without any extra spaces or characters.

  3. Permissions: Confirm that the API key has the necessary permissions for the intended operation.

If the issue persists, it could be related to how your system or integration is managing headers. For example, some tools or frameworks might automatically modify or strip headers. You may need to check your integration setup or middleware configuration.

If you need further assistance, please reach out to the customer support team directly through the ticket form.

charred parrot
#

We are use basic authorisation method. We generate a token for API and add it in Header