DATE:
AUTHOR:
LeanIX Product Team
APPLICATION PORTFOLIO MANAGEMENT

GraphQL API response to invalid facet keys

DATE:
AUTHOR: LeanIX Product Team

The LeanIX GraphQL API can be queried by submitting multiple keys for facet filters. When you do this, our platform currently ignores queries with invalid keys and returns data according to the valid queries only.

This was expected behavior for GraphQL specifications in the past. However, the latest versions of GraphQL require validation for querying correct keys.

From August 15, 2023, our GraphQL API will be changed to return an error and no result if not all keys in facet filters are valid. Also, trailing brackets in the API query will result in a syntax error.

Example no. 199 in the GraphQL specification gives you a preview of what the error message will look like. The LeanIX developer docs will be updated accordingly with the release.

If you have set up custom integrations, custom reports, or scripts using the GraphQL API, please check that they only use the correct facet keys.

Powered by LaunchNotes