Skip to main content
Best answer

Getting Error While Trying To Use "API Request (Beta)" Vision - Could not parse the JSON body of your request

  • January 5, 2024
  • 1 reply
  • 150 views

Hi,

As the title says, I’m getting an error message saying when I try to have OpenAI Vision extract text from a receipt:

“We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com.)”

Here are some screenshots of the set up:

 

 

Here is the error message after running it:

 

Thank you for your time!

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @AI Amplifi 

TIP: You can use ChatGPT to troubleshoot your JSON.

You are missing a “ after the :

 

View original
Did this topic help you find an answer to your question?

1 reply

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30957 replies
  • Answer
  • January 5, 2024

Hi @AI Amplifi 

TIP: You can use ChatGPT to troubleshoot your JSON.

You are missing a “ after the :