FROM CACHE - en_header

Getting an attribute error with shipping_address.address1

hofnbricl
New Member
2 0 0

Hello there, running into an issue trying to set a variable to shipping_address.address1 that keeps causing my script to error out. I did have this working as of a week or so ago. I'm able to connect to the shop and get the order info, but I get this error:

Exception has occurred: AttributeError
shipping_address

File "getorders.py", line 93 in <module>

Addr1 = order.shipping_address.address1

 

I'm debugging this in VS code and I am able to see that there is data in the Addr1 variable, I dont have any more info from the python console either. I'm using version 8.4.2 of the api

 

Thank you

 

Replies 0 (0)