-
-
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
fulfillmentTrackingInfoUpdateV2 Graph API request unable to parse the success response. #1149
Comments
Hey, thanks for the report @iamSathishMohan! Could you show the C# code you're using to send this mutation? And can you confirm whether you're using ShopifySharp v6.22.0 or v6.22.1? |
I am using the latest ShopifySharp. Found the error i made with the request and corrected it. But this still needs fix in ShopifySharp. The following error response in GraphQL is not processed and thorwing deserialization error. {
"errors": [
{
"message": "Variable $trackingInfoInput of type FulfillmentTrackingInput! was provided invalid value",
"locations": [
{
"line": 5,
"column": 3
}
],
"extensions": {
"value": "{\"company\":\"Custom\",\"numbers\":[\"xxxxxxxxxxxx\",\"xxxxxxxxxxxx\"],\"urls\":[\"https://track.com/tracking/xxxxxxxxxxxx\",\"https://track.com/tracking/xxxxxxxxxxxx\"]}",
"problems": [
{
"path": [],
"explanation": "Expected \"{\\\"company\\\":\\\"Custom\\\",\\\"numbers\\\":[\\\"xxxxxxxxxxxx\\\",\\\"xxxxxxxxxxxx\\\"],\\\"urls\\\":[\\\"https:\/\/track.com\/tracking\/xxxxxxxxxxxx\\\",\\\"https:\/\/track.com\/tracking\/xxxxxxxxxxxx\\\"]}\" to be a key-value object."
}
]
}
}
]
} |
Ah I see the problem, thanks for copying that json! That helps a ton, I'll make sure this gets fixed. Note for myself: the Expected: "extensions": {
"value": { "foo": "bar" }
} Actual "extensions": {
"value": "bar"
} |
I was using the below graph API request to update the fulfillment tracking info, eventhrough it produces the success response, the GraphService is unable to parse and failing with
Expected StartObject token
error for path$[0].extensions.value
.The same query executes fine in postman
The text was updated successfully, but these errors were encountered: