Hot fix: Errors with GraphQL parsing
We recently introduced an upgraded GraphQL parser that enforced GraphQL spec query validations that were previously ignored.
This upgrade caused queries that previously passed validation in 2024-07
to fail in 2024-10
.
Solution
To avoid any breaking changes in version 2024-10
, we've made the new parser backward compatible. This means that you can request 2024-10
in the API-Version
header to continue using the query successfully.
From 2025-01
onwards, some validation rules will be introduced as breaking changes and will be announced separately. You will then need to adjust your queries accordingly.
Impact
This fix impacts a variety of queries, including those that use a line break inside of a string. If you switch to 2024-10
and encounter any unannounced breaking changes, please open a support ticket to report it to the team.
Test your queries
If you want to test your query, we recommend using the API playground. Before running the query, if any of it is not valid, you should see a syntax error in red on the left side. In versions 2024-10
and earlier, the query will still run successfully despite the error.