Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update authentication.mdx to use correct auth header for OpenAI and V… #18937

Open
wants to merge 1 commit into
base: production
Choose a base branch
from

Conversation

ndamulelonemakh
Copy link

…ercel SDKs

Using cf-aig-token results in Error: 401 [{"code":2009,"message":"Unauthorized"}]. From my tests this is fixed if we use header name cf-aig-authorization instead

Summary

Update authentication.mdx to use correct auth header for OpenAI and Vercel SDKs

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

…ercel SDKs

Using `cf-aig-token` results in Error: 401 [{"code":2009,"message":"Unauthorized"}]. From my tests this is fixed if we use header name `cf-aig-authorization` instead
@github-actions github-actions bot added the product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants