I'm performing a very simple edit/PUT request to an existing Shopify Product using the admin API, simply to change the product_type.
Attempting to set "WeddingBand" succeeds. Attempting to set it "Wedding Band" fails with the error shown below...seems pretty obvious, it does not like my space.
I've seen suggestions that I need to substitute another encoding of the space character, but have not had much success getting clarification of what character that is.
Any assistance is greatly appreciated.
This appears to be an issue with the client being used to send the call, as the error message terminates where the space appears. Escaping the space character will depend on that client. The URL encoded value for a space is
%20, for HTML it's
, or you can try using a
\ in front of the space character. If that doesn't work I recommend reaching out to the developer who maintains that API client.