Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Getting API error "is invalid" when trying to update order tags

Getting API error "is invalid" when trying to update order tags

DanAtBonify
Shopify Partner
57 4 43

I have a customer with a prevalent and intermittent issue of getting an error when trying to update order tags.

The error message returned from the API:

is invalid

The strange thing is that when I then do another attempt to update the order tags the API call will work, so the "is invalid" error seems to be intermittent, and I'm not sure what's causing it.

 

I'm hoping that someone from Shopify can clarify what kinds of things can cause that error, because it is showing up often, even though retrying the API call will work.

Thanks!

 

P.S. Some examples of the tags attempted to be added (updated): 

Time_Selected: 02:00PM-04:00PM, Status: Unfulfilled, Carrier: Postmates, Postmates Unfulfilled
Replies 2 (2)

npabisz
Shopify Partner
2 0 1

In my case this was caused by changing letters to lower case in existing tags. Eg. I had existing tag "Sub", but did request with "sub".

lam_af
Tourist
3 0 2

did you find the cause? doesn’t seem to be related to CaSe for us