I have tested the exact request that ChatGPT said it was sending and the test passes just fine. There is nothing wrong with ChatGPT’s request, in other words.
The problem is that ChatGPT’s client code is generating this error and not calling the API at all.