API - Nested JSON / Re-sending raw body

Hi,

I am running a CV parsing API when my users upload a CV. It works well and I am storing the raw JSON response as a string field under my user object.

I then want to pass that raw JSON via API to OpenAI Assistants API, as part of a prompt - but it is erroring out with “unable to parse JSON” error.

Note my API call works fine when I don’t try to pass the “nested json” so it is definitely a formatting issue.

Does anybody have any ideas how to format JSON to be able to pass it as part of a JSON post?

This topic was automatically closed after 70 days. New replies are no longer allowed.