-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query demands required parameter after version update #1078
Comments
Hey @QnavWhat! Can you post the code you're using to send the query? |
Hi @nozzlegear
The first call to serviceLocation is returning the location ID, which I just added to verify a correct initialisation of ShopifyHelper2024. Running the exact code with Version 6.4.0 will return Shop-Name but with Version 6.6.0 it will return error 400. |
Is there anything I can try t to adapt in my API-call? |
Hey @QnavWhat! Sorry, this slipped my mind. I’m currently making my way back home on a road trip so I can’t dig into any code. Can you try upgrading to the latest version of ShopifySharp to see if that fixes the problem? |
I tried using Version 6.18.0 to see the output. However a different error appeared. So I ran through the Version to test where related changes happend: 6.4.0 --> fine with the code posted above |
Hey @nozzlegear , ist my latest post somehow helpful? |
@QnavWhat it is helpful, yes! I'm sorry, I've been utterly swamped. I've set aside time to look at this and other ShopifySharp issues later this evening. |
Good news! I've found the issue, it's one of the overloads in the GraphService, which I have an open pull request for. I'm working on it right now, I'll publish it either tonight or tomorrow and will let you know when it's ready to test. |
Awesome, thanks a lot :) |
Any news on this @nozzlegear :) |
@QnavWhat Yes, I've been actively working on that pull request I mentioned! I just need to finish up some unit tests and then it should be ready to merge and publish. I plan on doing that tomorrow/over the weekend. Sorry it's taken so long! |
The PR is #1051. |
Ah cool, thank you for the information. Didn't meant to put preasure on that case ;) |
Hi,
I just updated from Version 6.3.0 to 6.6.0 and without changing the queries, I get the following error message when running GraphQL calls:
{"(400 Bad Request) query: Required parameter missing or invalid"}
The same query runs fine with the previous version and I could find any change log with related information. The higher versions I tested return this message as well. I get the error message for every query I tested like ''query MyQuery { shop { name } }". When using e.g. POSTMAN I can run the query without exception.
Thanks and regards
The text was updated successfully, but these errors were encountered: