I am trying to print a sales order with a known OrderId however it throws an error which I haven’t been able to debug. error is: What is the problem here? Please help Answer It turns out you need to use the json argument instead of using data. This becomes Content-Type header can be set as application/json