Skip to main content

Hi, I’m trying to use the image analyzer API from OpenAI.

I retrieve via webhook a signed url with all the headers from a AWS S3 PNG Object.

But when i’m using it on OpenAI:

I tried with other images but it’s the same.

 

There’s a way to overcome this issue?

 

Thanks.

Hi @greenhub 

Make sure the file link is publicly accessible to be used in Zaps.

Help for using files in Zaps: https://help.zapier.com/hc/en-us/articles/8496288813453

Check the field description for possible guidance.

 


Hi @Troy Tessalone 

Yes, It’s public, It’s a link that only work within 15min with the Content-Type : application/png , that is the weird thing here. 

 


@greenhub 

Are you able to provide the full URL or a screenshot of the full URL?

Try copy/paste the link into a new/different private browser to see if it starts a direct file download.

If not, then the link can’t be used.


Sure @Troy Tessalone 

Tried to pass as text but is resend to a moderator.

It wortks fine in a private browser


@greenhub 

Can you record and share a Loom.com video showing you copy/paste into a private browser so we can see what happens for context?


Sure @Troy Tessalone 

There it is 

 


@greenhub

Things to check…

  • Does the URL redirect when clicked?
  • Check if there are other versions of the link. (e.g. GDrive has different file version links such as view, download, share)
  • Try removing the query string parameters. (? and after) )see screenshot]
  • Try uploading to another site first (e.g. GDrive) before uploading to ChatGPT.
  • Try hydrating the file:

     

 

OpenAI Community topics that are related and may provide guidance.

https://community.openai.com/t/invalid-image-error-in-gpt-4-vision/505843

https://community.openai.com/t/gpt-4-vision-error-badrequesterror-400-invalid-image/516486