Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Using our Sales Channel and the Checkout API we got the following response back from Shopify
"statusCode": 422, "body": { "errors": { "checkout": { "shipping_line": { "id": [{ "code": "invalid", "message": "is invalid", "options": {} }] }, "shipping_rate": { "id": [{ "code": "invalid", "message": "is invalid", "options": {} }] } } } }
The request-id is
"x-request-id": "51f2aa61-2e60-459c-9943-330dc6c0629e"
I'd like to know what does that error mean. Thank you.
Hey @JCDY ,
Thank you for providing the error message and the X-Request-ID value, it was very helpful for the investigation.
After going through our platform logs, it appears this error was thrown because the 'ShippingLineValidator' failed to validate the shipping line of the checkout. This could be because the shipping line is missing from your checkout, or because the shipping rate that is selected in the shipping line is missing or is invalid. Alternatively there could be a typo or incorrect input in your shipping line, which is causing the validator to fail.
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
User | RANK |
---|---|
5 | |
5 | |
4 | |
4 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022