API not wirking with Dall-E

Hi guys,

is there currently a problem with the API integration?

I want to integrate Dall-E in my website and created a code to type in the request. However, it get the message, that the API Code ist wrong. I have printed out the API and can see, that it is correct . Shutting down and reopening, as well as deleted all Cache doesn’t help.


I hope you can help me.
best regards

Can you define what you mean by “wrong”? What is the error message that you get?

How are you passing the URL Endpoint to “https://api.openai.com/v1/images/generations” ?


so the error is stated as the following:

And at the end, this showes up, regarding the API keys:

data: {
  error: {
    code: 'invalid_api_key',
    message: 'Incorrect API key provided: undefined. You can find your API key at https://platform.openai.com/account/api-keys.',
    param: null,
    type: 'invalid_request_error'