All Collections
Versions 3.0 and 2.0
Troubleshoot
Errors
Why is GraphQL Playground throwing an error on my JSON variable?
Why is GraphQL Playground throwing an error on my JSON variable?
Elisa Dinsmore avatar
Written by Elisa Dinsmore
Updated over a week ago

This article is for Flatfile's Portal 2.0, Portal 3.0 and Workspaces. If you'd like to check out the latest version of the Flatfile Data Exchange Platform, click here!

When adding any variables that require JSON input into the variables section of the GraphQL playground, the playground may display an error that indicates it's expecting a value of type "JSON", even if you are inputting values in a JSON format. The API expects this format, even though the playground throws an error, so you can still submit even with the error present and get a valid response.

mceclip0.png
Did this answer your question?