Hello @rowood ,
Kindly check the date header value you are sending. The date header value has to correct and exact for the API request to be successful.
Can you send me the screenshot of the error using Postman so that I can look into it?
Also, we recommend our clients to use Native Postman to send API requests as it has Postman Console which makes debugging errors easier.
Request to install the native version of Postman and try sending a request (Note: This does not require Interceptor to be installed and switched on). If you encounter an error, kindly send me the Postman Console logs so that I can look into it.
The steps to do that is as follows:
Click on “View” and then on “Show Postman Console”. This will open a dialog box which will have a list of requests that you have sent. Click on the request for which you got the error. Copy the entire text under it and sent it over.
I see that you are sending API requests to the Pilot environment. However, the API key that you are using belongs to your Production environment. Hence, you are receiving a 401 unauthorized error for all your requests.
Please check the API key and secret before sending your API requests. API requests sent to pilot environment will be successful if you are using the Pilot API credentials.