rest - shopify 422 Unprocessable Entity exception utf-8 characters
I am passing some chinese character in shopify new product PUT request with below utf-8 string.
I am passing content-type as "application/json;charset=UTF-8". But shopify throws 422 status code.
Id was missing in the metafields payload. Shopify response could have pointed out exactly what is problem! Wasted my one hour!
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.