Using OpenAI in ReplIt

Question:
Are API calls blocked for OpenAI or am I doing it wrong?

Repl link/Link to where the bug appears:

https://replit.com/@EsteraJablonski/Test-Game?s=app

Screenshots, links, or other helpful context:

I’ve checked postman, and the call works theoretically

code snippet

They shouldn’t be blocked. What error is showing up?