#[FIXED] Help troubleshooting a imageEdit throwing a 400 BAD REQUEST

5 messages · Page 1 of 1 (latest)

ocean ferry
#

I get "BAD REQUEST" and seeing no other hint as to what might be the problem.

I am using code that is exactly like the one shown in the latest image edit documentation.

Both PNGs are 1024x1024 and I have tried having only either transparent or opaque pixels in the mask. The non-mask image is the same as one I have used in a imageVariation request which works.

Any ideas on how to fix this? Or any example PNGs that I can try that should work? Or any idea on how to get more information as to how it is a bad request?

Thanks!

#

I've just tried uploading my original image and then downloading it again, as well as its masked version, using the DALL-E editor at https://labs.openai.com/editor.

But no luck, this also fails. The prompt is also very short and simple and I have tried changing it multiple times so it doesn't appear to be that either.

ocean ferry
#

Ah. I apologize. By using the error handling suggested in the documentation, I do get an additional hint, which is that my prompt is missing.

#

The issue is with the node.js example in the documentation. The arguments are not named and not in the proper order.

#

Closing as [Fixed]