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.
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?
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이 아닌 다른 리전으로 바꿔서 해결했습니다. 단지 그것만으로 해결 되었습니다. )