Skip to content

Commit 7bb4a60

Browse files
committed
add cerllercenter url
1 parent 518c6d0 commit 7bb4a60

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Source/FikaAmazonAPI.SampleCode/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ static async Task Main(string[] args)
2727
IsDebugMode = true
2828
}, loggerFactory: factory);
2929

30+
31+
var aa=amazonConnection.Seller.GetMarketplaceParticipations();
32+
3033
var plan = amazonConnection.FulFillmentInboundv20240320.ListInboundPlans(new Parameter.FulFillmentInbound.v20240320.ParameterListInboundPlans
3134
{
3235
Status = AmazonSpApiSDK.Models.FulfillmentInboundv20240320.InboundPlanStatus.ACTIVE

Source/FikaAmazonAPI/Services/RequestService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ protected void ParseResponse(RestResponse response)
302302
switch (error.Code)
303303
{
304304
case "Unauthorized":
305-
throw new AmazonUnauthorizedException(error.Message, response);
305+
throw new AmazonUnauthorizedException($"{error.Message} {error.Details}", response);
306306
case "InvalidSignature":
307307
throw new AmazonInvalidSignatureException(error.Message, response);
308308
case "InvalidInput":

0 commit comments

Comments
 (0)