PDA

View Full Version : Unable to authenticate current user. Current user not found. [0012]



Poney
05-21-2017, 09:49 PM
I try to call GetShipmentsRequest via Shiprush SDK with following Code.

ShipRushSDK.ServiceUrl = url;
ShipRushSDK.UserId = "aaron.watson@bapmic.com";
ShipRushSDK.UserToken = "XXXXXXXXX";
ShipRushSDK.DeveloperToken = "";
ShipRushSDK.ShippingToken = "";
ShipRushSDK.ClientSdkVersion = "";
ShipRushSDK.EnableHttpCompression = true;

But got Exception " Unable to authenticate current user. Current user not found. [0012]"

Please help.

SYSOPS
05-22-2017, 06:37 AM
You need a DeveloperToken value for the call as well as UserToken.

HTH,
SYSOPS

Poney
05-22-2017, 06:54 AM
Thanks. I have applied for developer token one week ago. But it is still waiting

SYSOPS
05-22-2017, 07:27 AM
Please email into support at shiprush dot com with the email address you applied for the developer token under. We will get it processed.

Thank you,
SYSOPS

SYSOPS
05-22-2017, 01:43 PM
You should now be able to get your tokens in ShipRush Web. Log in and go into settings | developer tokens

Thank you,
SYSOPS

Poney
05-31-2017, 08:23 PM
Thanks a lot. I got the developer token, It works.

SYSOPS
06-01-2017, 06:32 AM
Thank you for the update. Happy coding.

SYSOPS