openai call 403 error

I use cloudflare workers. And inside my sveltekit app, i call openai api it returns Error: 403 Country, region, or territory not supported sometimes. How could i fix this?
1 Reply
Cyb3r-Jak3
Cyb3r-Jak320h ago
You would either need to use the data localization suite (requires enterprise) or pass the requests to OpenAI to a durable object in a supported localation

Did you find this page helpful?