Problems with GraphQL
Hello, I wanted to ask something, I am having problems with the queries because the following error has just appeared in 80% of our queries:
"Variable 'limit' has an invalid value: Expected a value that can be converted to type 'Int' but it was a 'String'"
What is strange? I have 2 environments, DEV and Stage, both have different versions and in Stage they all work, which is where I was normally working but in DEV, when I created the environment, that error started to appear.
It doesn't make sense because the data type in GraphQL is correct.
Query example:
Code example:
const options = { method: 'GET' };
fetch('/graphql/execute.json/endpoint/exampleQuery;perfil_dirigido=' + stringValue + ';limit=' + limitIntValue + ';offset=' + offsetIntValue + ';', options)
.then(response => response.json())
.then(response => {
response.data.faqsList.items.forEach(pregunta => {
// CODE
});
});
Please, could someone tell me if this is an Adobe error due to the version?
Or have they changed the way they do queries and are they done differently?
Thank you so much.

