-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Shopify Sharp Graph QL - Get Orders issue #1157
Comments
Hey! I think you might have two problems here, but we can only see one of them because of the exception being thrown when parsing errors; it's hiding the actual error message. I have a fix for this coming in #1154, which I plan to merge and publish tomorrow. |
As for the actual error: if I had to guess, your app may not have permission to use protected customer data. Accessing it will return an error in that case. You can confirm if that's the case by removing all the customer properties except for |
We already having read_customers access scope permission. And Also if we remove customer object from Graph QL Query And also updated the library version from 6.22.0 to 6.22.1 but still it throws same error. See below code and error After executing above code I am facing below error. This error only comes IF I use variant object in Graph QL Query. |
From when can I get this issue resolution from Shopify Sharp library? |
Hey @ngodhaniQeleo! I just published a new version of ShopifySharp to Nuget, version 6.22.2. I think it should fix the problem. Can you upgrade to that version and try your code again? |
@nozzlegear Yes, After Upgrading to 6.22.2 version. It works very well for us without causing any problems. Thanks for support |
I am using Shopify sharp latest version (6.22.0) in asp.net core (.NET 8.0) C# project. I am getting Orders by Id filter using Graph QL API for getting individual order using below code screenshots
My Order Bucket Class
After executing above code I am facing below error. This error only comes IF I use variant OR customer object in Graph QL Query.
IF I am not using variant OR customer object then it will give successful order response.
Error : Cannot get the value of a token type 'Number' as a string.
So can you please help us for this issue
The text was updated successfully, but these errors were encountered: