Skip to main content

Using ChatGPT’s Conversation action event, I set the Response format to Strucutred Output.

In the OpenAI documentation, this requires me to either provide a JSON Schema in text or with pydantic, which I can do in Jupyter Notebook to test my schema. 

For some reason, Zappier requests an URL for the JSON schema. I have uploaded my schema to an open github repo (using their example schema at first), but I can’t make it work, no matter how I try I recieve the following error when testing the step:
“Failed to fetch JSON schema from the provided URL”

The link to my schema file:

https://raw.githubusercontent.com/bertalanv/hello-world/refs/heads/master/math.json

thanks!

Exactly the same issue here.


Hi ​@berszi and ​@VinnieH,

Before we dig deeper into this, would you mind sharing a detailed screenshot of how your Zap is configured? This will help me take a closer look at the issue.

Please don't include personal information in the screenshot, or be sure blur out any personal information.

Thanks!


@ken.a 

My scheme is saved here: https://gist.githubusercontent.com/VinnieLendscape/b960f94ed63869046bc68efeb5d5f703/raw/cd3ea1172ed75e5e65f5ed0b71ab4887305b8ec3/FinanceCompanyProfile.json

The error message:

If i select ‘text’ as the response format it works, so I know it works without json. I dont understand why it cannot get the JSON schema?


Hi ​@VinnieH,

 

If you're experiencing an issue fetching the JSON schema from a URL in your Zapier integration. First, verify that the URL is correct and accessible, and check for CORS restrictions that might block Zapier from retrieving the file. Ensure the server returns the correct Content-Type (application/json) and properly format the JSON using a validator tool. Double-check Zapier's configuration to confirm it's expecting a JSON schema. Lastly, network issues could be causing the problem, so retrying after some time may help.

Feel free to reach out if you have any questions or need further assistance.


It looks like I’m having the same issue as berszi and VinnieH. Checked and server returns “application/json” (screenshot attached). Tried hosting at both github and netlify, but getting the same error message.


Hi friends,

 

This might be a possible bug with ChatGPT and needed attention with our Zapier support team to report it directly to OpenAI. Kindly contact our Zapier support team on this link. https://zapier.com/app/get-help and choose report a bug.

 

 


Hi All - having the same problem trying to pass a schema URL into the responses API. Here’s my URL for reference: https://raw.githubusercontent.com/chris-permitable/json-schemas/refs/heads/main/prop_info.json

I tested via curl and validated the json was findable and readable.

Been tearing out my hair reading documentation with OpenAI, but Zapier is fairly silent on specs.

Going to submit a support ticket - leaning towards this being a bug

Let me know if y’all find anything out


Hi friends,

 

This might be a possible bug with ChatGPT and needed attention with our Zapier support team to report it directly to OpenAI. Kindly contact our Zapier support team on this link. https://zapier.com/app/get-help and choose report a bug.

 

 

@JammerS I opened a trouble ticket for this issue. Is anyone else successfully using the JSON Schema? Since it such a new feature in Zapier, I’d love to connect with other users and see how they are making it work.


Hi ​@chris-protos,

 

Review the official documentation for guidance on exploring Zapier's JSON Schema feature and troubleshooting issues. Sharing your specific use case with the community may help uncover targeted solutions and best practices.

Our Zapier support team will provide you with specific guidance. In the meantime, gathering insights from other users can be beneficial.

 


Hi folks,

This has been resolved, with the request for fetching the JSON schema from a URL no longer erroring. Using that action with a publicly accessible link should work as expected now 👍


Hi folks,

This has been resolved, with the request for fetching the JSON schema from a URL no longer erroring. Using that action with a publicly accessible link should work as expected now 👍

 

Really?

 

Please share an example of a valid publicly accessible link. Still broken for me when I use a raw public gist link and raw github link for a repo that has the JSON schema. When I saw “raw” I mean just like the links given in this thread from other users.

 

Were those links tested by the dev team? feels like something was missed here..


Reply