Skip to main content
Question

OpenAI can't use Image Analyzer

  • 21 May 2024
  • 7 replies
  • 37 views

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.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Userlevel 7
Badge +14

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.

 

Userlevel 1
Badge

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. 

 

Userlevel 7
Badge +14

@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.

Userlevel 1
Badge

Sure @Troy Tessalone 

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

It wortks fine in a private browser

Userlevel 7
Badge +14

@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?

Userlevel 1
Badge

Sure @Troy Tessalone 

There it is 

 

Userlevel 7
Badge +14

@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