We are using Python’s Shopify API in a Django project.
API version: 2020-04
I’m using Order’s Update API to update tags on the order. It’s working most of the time but randomly I get this exception
BadRequest
Response(code=400, body="b'{"errors":{"fulfillments":"array contains unpermitted members"}}'", headers={'Date': 'Fri, 19 Feb 2021 16:31:21 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'close'....
Now weird thing is that I don’t update anything on the Shopify order instance except tags, yet the error is about fulfillments. This is the pseudo-code of what I am doing
shopify_order = fetch_order_from_shopify()
shopify_order.tags = 'new_tags'
shopify_order.save()
I’ve gone through code and exceptions multiple times but I can’t figure out the reason. Any help would be appreciated.
Thanks ![]()