Hi, this is David from Performance Motion Devices.
The last question regading Example1.py is solved, thanks for the help!
I am using Example2.py getting inventory info and placing a test PO.
When I run it with the ORIGINAL template, the terminal shows two errors, the first error_422 is expected but the second error_500 is not:
1. Because the JSON payload has mock data, it will result in a 422 error.
That means it's working as intended!
WARNING: Unexpected HTTP status code 422.
2. WARNING: Unexpected HTTP status code 500.
Response from server:
{"errors":[{"type":"Unknown","code":"TI-API-00500","reason":"Service unavailable","message":"This service is temporarily unavailable. Please contact support."}]}
Then I modified the input such as CheckoutProfileID, customerPO, company name, etc., and then the second error shows error_503:
1. skipped since error_422 expected.
2. [{"errorCode":"ERR-TICOM-ORDER-API-BOM-0503","type":"Application","section":"Regulation","field":null,"reason":"We are unable to perform the regulations check at this time.","message":"Resubmit your request at a later point in time.","data":null}]}
WARNING: Unexpected HTTP status code 500.
Response from server:
{"errors":[{"type":"Unknown","code":"TI-API-00500","reason":"Service unavailable","message":"This service is temporarily unavailable. Please contact support."}]}

