-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting getting LWA Access Token Error while posting Shipment tracking on amazon #727
Comments
same problem i have |
@ismkdc @asifiq2000 Try to remove the new AmazonCredential()
{
ClientId = 'XXX',
ClientSecret = 'XXX',
RefreshToken = 'XXX',
MarketPlace = MarketPlace.Germany
}; You can also try to remove list.Add(new OrderFulfillmentMessage()
{
AmazonOrderID = order.AmazonOrderId,
FulfillmentDate = order.ShippingTime,
FulfillmentData = new FulfillmentData()
{
CarrierCode = order.Carrier,
ShipperTrackingNumber = order.Trackingnumber,
}
}); |
Hi @abuzuhri I have implemented the POST_ORDER_FULFILLMENT_DATA API posting through FIKA createDocument.AddOrderFulfillmentMessage(list); which is running fine, but when I Post the tracking through SubmitFeed() method as mentioned above I get the FeedID feedOutput=amazonConnection.Feed.GetFeed(mFeedID); Note: Our client asked me to create support ticket on amazon that why we are not getting the tracking update time |
Hi @abuzuhri,
I am using the SP-API shipping tracking using the FIKA API
POST_ORDER_FULFILLMENT_DATA method to post the shipment on amazon
but it is throwing below mentioned error, kindly suggest.
Error Detail:
Exception has occurred: CLR/System.SystemException
An exception of type 'System.SystemException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Error getting LWA Access Token'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception System.IO.IOException : Unsuccessful LWA token exchange
at FikaAmazonAPI.AmazonSpApiSDK.Runtime.LWAClient.d__15.MoveNext()
code detail:
public String PostAmazonShipmentTracking(string mRefreshToken, string mSellerID, string mAmazonOrderID, string mCarrierName, string mShippingMethod, string mShipperTrackingNumber, string mCarrierCode, string mClientId, string mClientSecret)
{
//MarketPlace = MarketPlace.GetMarketPlaceByID("ATVPDKIKX0DER"),
AmazonConnection amazonConnection = new AmazonConnection(new AmazonCredential()
{
AccessKey = "XXX",
SecretKey = "XXX",
RoleArn = "XXX",
ClientId = mClientId,
ClientSecret = mClientSecret,
RefreshToken = mRefreshToken,
MarketPlace = MarketPlace.GetMarketPlaceByID(mSellerID),
});
The text was updated successfully, but these errors were encountered: