My openai integration is not working!


this is the result

here is the code
note: i have imported my api key in [api-key]

did you do the setup step described here?

yess

during testing did you supply your api_key in the screen_opens block?
i just ran my test for image generation and it’s working:

yes i did

Has your openai trial account expired? You need an account that is enabled for payment ((ie There is a valid credit card attached to it)

Do you use your API key? It looks like an API key issue to me.

Wei

1 Like

Did you get this sorted? I’m V new at this but to me, the block below is wrong. I think you’re just saying that your API key is [api-key]. You need to assign your actual API key to an app variable and then connect the correct app variable to this spot.

1 Like