• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

OpenAI V2 invalid_json

Status
Not open for further replies.

LisaKempton

Member
I am trying to update all my workflows from OpenAI V1 to V2 but when I create an assistant or message in V2 I get the following error:

Invalid body: failed to parse JSON value. Please check the value to ensure it is valid JSON. (Common errors include trailing commas, missing closing brackets, missing quotation marks, etc.)
 
Last edited:

ArshilAhmad

Moderator
Staff member
Hi @LisaKempton,

You need to pass the File ID within double quotation marks and square brackets in this manner. Also, ensure that you are passing a File ID that already exists in your file list.


1734627094720.png


1734627199156.png
 

ArshilAhmad

Moderator
Staff member
Could you please specify the name of the file associated with this ID? Does it appear in the dropdown?
 

LisaKempton

Member
Yes, it is the one called Blank File.pdf. It's not actually blank, but has very little information. I just used it as a placeholder.
 

ArshilAhmad

Moderator
Staff member
Please select the 'Blank File.pdf' file from the dropdown, click on 'Save & Send Test Request', and check if that resolves your issue.
1734653420362.png
 
D

Deleted member 15445

Guest
Hey @LisaKempton

Kindly check the updated help text.

1734692080479.png


As it appears, the File IDs will work only for v1. For v2 you need to turn on the map button and leave the field blank.

Let us know if it works for you.
 
Status
Not open for further replies.
Top