Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Develop Branch: get_competitive_pricing_for_sku #60

@Bobspadger

Description

@Bobspadger

Using the following:

sku_list:

['arttpatch', 'dun474p20', 'epippegenplawch1', 'fatnumacompact2', 'fen0113010705', 'fen0144603502', 'fen0144603506', 'fen0144703580', 'fen0146102502', 'fen0197002706', 'gen8330apm', 'gro5ar4', 'hosbnc58110', 'hosbnc58115', 'hoswti172', 'ibaaf75gbkf', 'ibarg370ahmzbmt', 'levmpd2036', 'lin30435', 'lin30437']

Requesting competitive pricing for this list of items works on the current mws master branch, but fails with the new develop.

Outputting the following error

<?xml version="1.0"?>
<ErrorResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
  <Error>
    <Type>Sender</Type>
    <Code>SignatureDoesNotMatch</Code>
    <Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.</Message>
  </Error>
  <RequestID>b5c4fb44-54be-41b3-85a0-58d321758f70</RequestID>
</ErrorResponse>
<?xml version="1.0"?>
<ErrorResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
  <Error>
    <Type>Sender</Type>
    <Code>SignatureDoesNotMatch</Code>
    <Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.</Message>
  </Error>
  <RequestID>b5c4fb44-54be-41b3-85a0-58d321758f70</RequestID>
</ErrorResponse><?xml version="1.0"?>
<ErrorResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
  <Error>
    <Type>Sender</Type>
    <Code>SignatureDoesNotMatch</Code>
    <Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.</Message>
  </Error>
  <RequestID>b5c4fb44-54be-41b3-85a0-58d321758f70</RequestID>
</ErrorResponse>

I believe this is to do with the description being calculated differently on this branch and will investigate.

Failed:

AWSAccessKeyId=[REDACTED]&Action=GetCompetitivePricingForSKU&MarketplaceId=A1F83G8C2ARO7P&SellerId=[REDACTED]&SellerSKUList.SellerSKU.10=fen0197002706&SellerSKUList.SellerSKU.11=gen8330apm&SellerSKUList.SellerSKU.12=gro5ar4&SellerSKUList.SellerSKU.13=hosbnc58110&SellerSKUList.SellerSKU.14=hosbnc58115&SellerSKUList.SellerSKU.15=hoswti172&SellerSKUList.SellerSKU.16=ibaaf75gbkf&SellerSKUList.SellerSKU.17=ibarg370ahmzbmt&SellerSKUList.SellerSKU.18=levmpd2036&SellerSKUList.SellerSKU.19=lin30435&SellerSKUList.SellerSKU.1=arttpatch&SellerSKUList.SellerSKU.20=lin30437&SellerSKUList.SellerSKU.2=dun474p20&SellerSKUList.SellerSKU.3=epippegenplawch1&SellerSKUList.SellerSKU.4=fatnumacompact2&SellerSKUList.SellerSKU.5=fen0113010705&SellerSKUList.SellerSKU.6=fen0144603502&SellerSKUList.SellerSKU.7=fen0144603506&SellerSKUList.SellerSKU.8=fen0144703580&SellerSKUList.SellerSKU.9=fen0146102502&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2018-03-20T12%3A34%3A24&Version=2011-10-01

Works:

AWSAccessKeyId=[REDACTED]&Action=GetCompetitivePricingForSKU&MarketplaceId=A1F83G8C2ARO7P&SellerId=[REDACTED]&SellerSKUList.SellerSKU.1=arttpatch&SellerSKUList.SellerSKU.10=fen0197002706&SellerSKUList.SellerSKU.11=gen8330apm&SellerSKUList.SellerSKU.12=gro5ar4&SellerSKUList.SellerSKU.13=hosbnc58110&SellerSKUList.SellerSKU.14=hosbnc58115&SellerSKUList.SellerSKU.15=hoswti172&SellerSKUList.SellerSKU.16=ibaaf75gbkf&SellerSKUList.SellerSKU.17=ibarg370ahmzbmt&SellerSKUList.SellerSKU.18=levmpd2036&SellerSKUList.SellerSKU.19=lin30435&SellerSKUList.SellerSKU.2=dun474p20&SellerSKUList.SellerSKU.20=lin30437&SellerSKUList.SellerSKU.3=epippegenplawch1&SellerSKUList.SellerSKU.4=fatnumacompact2&SellerSKUList.SellerSKU.5=fen0113010705&SellerSKUList.SellerSKU.6=fen0144603502&SellerSKUList.SellerSKU.7=fen0144603506&SellerSKUList.SellerSKU.8=fen0144703580&SellerSKUList.SellerSKU.9=fen0146102502&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2018-03-20T12%3A41%3A27Z&Version=2011-10-01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions