2 days ago, I began to receive this message for requests through the api
{“error”:{“code”:“unsupported_country_region_territory”,“message”:“Country, region, or territory not supported”,“param”:null,“type”:“request_forbidden”}}
Here is my address
“ip”: “94.241.. ”,
“city”: “Amsterdam”,
“region”: “North Holland”,
“country”: “NL”,
“postal”: “1012”,
“timezone”: “Europe/Amsterdam”,
what is it?
Remove your ip and loc.
Do you use AzureOpenAI endpoints?
I use the usual curl query from the documentation
Add your key and use this, retrieve the response like in the examples:
The official Python library for the OpenAI API
1 Like
The Netherlands is listed as a country where the service is provided. It’s unusual that you’re getting an ‘unsupported’ error.
If you’re using a VPN, try making the API call without going through the VPN, and the result might change.
Are you using Cloudflare? Also, your host might be shuffling you to a server in an unsupported country?
1 Like
I am encountering the same problem. The location of my server is:
{
“city”: “Amsterdam”,
“region”: “North Holland”,
“country”: “NL”,
“postal”: “1012”,
“timezone”: “Europe/Amsterdam”
}
As of September 5th, I was successfully sending requests and receiving responses. However, today it no longer works. What could be the reason?