Print generic label error

Hi,

I’m trying to print a generic label from the shipping app but I have an error message popping up (which looks like some python error): ‘NoneType’ object has no attribute ‘upper’.

I happens when requesting for a “print_label” mutation from the undocumented part of the api, I tried to modify some of the “PrintLabelInput” fields but nothing changes.

Here’s the full response:
{“errors”:[{“message”:“ShipHero Server Error”,“original_error”:"‘NoneType’ object has no attribute ‘upper’",“status_code”:500}],“data”:{“print_label”:null}}

Thanks for your help !
Max

Hi @Max
Welcome to the community!
Do you happen to have the ID for that order you are seeing the error?
Thanks in advance!
Tom

Hi @tomasw,

Yes, it’s id is 170787821, it’s the only order currently in my account I created it for test purpose.

Thanks for your support,
Max

Hi @Max
Thanks for that!

Try by setting a warehouse address at https://app.shiphero.com/dashboard/warehouses
and see if that allows you to ship the order.

Thanks again!
Tom

Hi @tomasw,

Yes that was it, thank you !

Have a good day,
Max

1 Like