"Authentication credentials were not provided." Error #30
Unanswered
pvt-kowalski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've implemented a webhook to get status updates. Testing the webhook via the portal works fine. When trying to create a tracker via the SDK I get an "Authentication credentials were not provided." error. I'm using the example code from the website and the test data for carrier, etc. Here's my code:
try
{
ShippoSDK sdk = new ShippoSDK(
apiKeyHeader: "shippo_test_6fd5xxxxxxxxxxxxxxxxxxxxxxx15ce1e4xxxxxxxxx",
shippoApiVersion: "2018-02-08"
);
.
.
.
The error occurs almost immediately on the CreateAsync() call. Any ideas why I need authentication credentials when the SDK objecthas already been created with the authorization token? If I make a call to GetAsync with the same test data, it works fine.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions