The input prompt cannot be handled by the engine

When calling dalle-3, I wil always get the exception “The input prompt cannot be handled by the engine.”. What does this mean and how to fix it?

You might want to watch this thread, or answer for yourself there which software stack or host you are using.

For example, there was a different issue reported by several recently, but it was actually a hosted no-code site that was the problem.

1 Like

@_j

Thank you. I am using the Delphi OpenAI library at GitHub - HemulGM/DelphiOpenAI: OpenAI API wrapper for Delphi. Use ChatGPT, DALL-E, Whisper and other products.

I trace into the source codes, and find actually the OpenAI response code is 400, which is explained by the above library as below:

    400, 404, 415:
      raise OpenAIExceptionInvalidRequestError.Create(Error.Message, Error.&Type, Error.Param, Error.Code);

So it seems the error should be from OpenAI, just the message text may be introduced by the Delphi library.

1 Like