You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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