Discussions
API Authentication Issue with Sandbox Environment – Help Needed
Hi all,
I’m currently integrating Truckstop’s API into our internal logistics platform, but I’ve run into a problem with authentication in the sandbox environment. I’ve generated the API key and secret, and I’m following the documentation, but every request I make returns a 401 Unauthorized error.
I’ve checked:
The API key and secret are correct
My request headers match the documentation
I’m using HTTPS and the correct endpoint URL
My precise question:
Has anyone else experienced 401 errors specifically in the sandbox environment, even when credentials seem correct? Is there an extra step needed to activate sandbox access, or could it be a token expiration issue?
Any advice or examples of a working sandbox request would be greatly appreciated. Thanks in advance!