{
"errors": [
{
"message": "GraphQL schema validation error.",
"extensions": {
"code": "INVALID_PAYLOAD",
"graphqlErrors": [
{
"message": "Syntax Error: Expected ":", found "(".",
"locations": [
{
"line": 1,
"column": 1914
}
]
}
]
}
}
]
}
#Insights Global variable with Month(Visit_Date) Equals {{Variable_Key} throwing error [INVALID_PAYLO
18 messages · Page 1 of 1 (latest)
This could be caused by the initial value of null before you fill the variable. Does setting a default value help?
@exotic wave any guess on the issue?
type mismatch for the month function perhaps
Month filter works fine well for the tabular view very well but it happens through Rest Api i guess
query { query_2695f143: Billsfromexcel_aggregated (limit: 1, sort: null, filter: {_and: [{status: {_nin: ["archived", "Draft", "draft"]}}, {_or: [{Bill_Number: {_contains: null}}, {PRO_Name: {_contains: null}}, {Department_Name: {_contains: null}}, {Client_Id: {_contains: null}}]}, {Department_Name: {_neq: "OTHERS"}}, {month(VisitDate): {_eq: "01"}}]}) { count { id } } }
it seems like a API error
@exotic wave Can you guide me if possible
Looks like an invalid graphql query is created for your filters, have you made a GH issue for this?
ok