Error updating order without a shipping address

Hi! The same issue detected using Shopify Python API.

if not order.shipping_address:
order.shipping_address = {‘address1’: ‘’, ‘city’: ‘’, ‘province’: ‘’, ‘zip’: ‘’, ‘country’: ‘’}

order.save()

Did the trick for now.