Skip to main content

Prerequisites

  • An Azure OpenAI model deployed
  • One of the following authentication methods:
    • Microsoft Entra ID (recommended).
    • An API key.

Troubleshooting

  • If you get a 401 or 403 error, confirm you authenticated with the intended identity or key, and that it has access to the Azure OpenAI resource.
  • If you get a 404 error, confirm the endpoint uses the ...openai.azure.com/openai/v1/ path and that you used a valid model deployment name.
  • If requests fail unexpectedly, check for proxy and firewall restrictions, and retry with a smaller prompt to rule out payload-size issues.