Cloud Run in asia-northeast3 Suddenly Getting 'unsupported_country_region_territory' Error from OpenAI API

Hi everyone,

I’m encountering a strange issue with my Cloud Run service deployed in the asia-northeast3 (Seoul) region. It was previously working perfectly fine with the OpenAI API (using ChatGPT models), but I’m now consistently getting the following error:

Error code: 403 - {‘error’: {‘code’: ‘unsupported_country_region_territory’, ‘message’: ‘Country, region, or territory not supported’, ‘param’: None, ‘type’: ‘request_forbidden’}}

I haven’t made any changes to my code or deployment configuration recently. I’ve verified that my OpenAI API key is valid and that I’m not exceeding any usage limits.

I understand that this error typically indicates a problem with the IP address or region being blocked by OpenAI, but “asia-northeast3” should be a supported region.

Has anyone else experienced this issue recently, especially with Cloud Run in asia-northeast3? Any suggestions on how to troubleshoot this would be greatly appreciated.

Thanks in advance!

저 또한 동일한 조건과 환경에서 어시스턴트에 파일업로드시 문제가 발생하고 있습니다.

Running into the same issue here- Many users are being blocked even though they’re connecting from supported countries or regions.

My GCP also runs in asia-northeast3 (Seoul) and I’m having the same issue.

I am also using Gcloud run and am getting the same error on API requests to the Seoul region.

Hello! South Korea is a supported country. Could you please share the IP address you’re using so we can check whether it’s being incorrectly geolocated to a blocked region?

1 Like

Did you solve this problem? I also use cloud run of GCP and I checked the same error.

I’m experiencing the exact same issue! My Cloud Run service in asia-northeast3 was working fine with OpenAI API until recently, and now I’m getting the same 403 “unsupported_country_region_territory” error. No code changes on my end either.
This needs to be resolved ASAP - please prioritize this issue!

MY IP address of Gcloud is 34.64.58.201.
The server is in South Korea, but I keep getting the 403 error (unsupported_country_region_territory). Can you check if it is incorrectly geolocated?

There were a lot of comments. Since I couldn’t just wait around for it to be fixed, I switched the region to something other than asia-northeast3—and that alone solved the problem.

( 코멘트가 많이 있네요. 수정되기만을 마냥 기다릴 수 없어, 리전을 asia-northeast3이 아닌 다른 리전으로 바꿔서 해결했습니다. 단지 그것만으로 해결 되었습니다. )

1 Like

저도 리전 바꿔야 할 것 같은데… 어떤 리전으로 바꾸셨나요??

Hello! This issue should be fixed now.

Let us know if you are still seeing issues.

2 Likes

Finally! Now it is working fine. Thanks.