Share via

Error code 403 triggered by prompt content

Bar Yehudai 0 Reputation points
2025-11-19T14:54:56.3233333+00:00

I am prompting openai on azure (using a proxy from my local node server) and I am getting code 403 for certain prompts and not for others, I tried to reach the minimal prompt string with the problem, I have found that the string: , ""Hi causes the problem, but if I remove any of the parenthases or the comma in the beginning it works, what could be the problem?

Azure OpenAI in Foundry Models

1 answer

Sort by: Most helpful
  1. Bar Yehudai 0 Reputation points
    2025-11-26T12:47:26.6266667+00:00

    There is a firewall on both endpoints which allows only ips 3.222.129.4 and 54.205.35.75, so they can both only be accessed by proxy (if they are accessed directly they will fail with code 403, just like the bug), we can tell that it is not being blocked by the proxy because they have the same proxy and one works and not the other:

    https://proggio.openai.azure.com/ https://apgw1nac001.kla.com/proggioAI/|
    direct - ,"Hi 403 403
    proxy - ,"Hi 200 200
    proxy - ,""Hi 200 403

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.