Skip to main content

I have a Python class that worked well until 24/10/2024:

query = '''query IntrospectionQuery($typeName: String!) {
          __type(name: $typeName) {
            name
            fields {
              name
              description
              type {
                name
                kind
                ofType {
                    kind
                    name
                    ofType {
                        kind
                        name
                    }
                }
              }
            }
          }
        }'''

variables = {'typeName': type_name}

Since yesterday, I get “introspection error : Variable “$typeName” of required type “String!” was not provided”.
Writing the type-name hardcoded into the query works. Other api calls with variables (like list-items that gets board-ids) works.
Thank you

Welcome to the community @reformy -

Just a head’s up - I moved your post to the monday apps & developers section of the community since it is API-related.

Best,
Rachel


I am not positive introspection queries are fully implemented in the current version.

That said you can retrieve the schema with Two new schema query parameters (the name isn’t clear but this covers both the schema, as well as parameters to get the schema).