awslabs / amazon-kinesis-scaling-utils

The Kinesis Scaling Utility is designed to give you the ability to scale Amazon Kinesis Streams in the same way that you scale EC2 Auto Scaling groups – up or down by a count or as a percentage of the total fleet. You can also simply scale to an exact number of Shards. There is no requirement for you to manage the allocation of the keyspace to Shards when using this API, as it is done automatically.
Apache License 2.0
338 stars 95 forks source link

Access to requested resource is denied. Unauthorized. #105

Closed cagataysayg closed 3 years ago

cagataysayg commented 3 years ago

Hello, I'm developing with sp-api but I did all the requierments, authorization and kind of stuffs. That's the sign of request below. I'm trying to solve this problems for days. And I'm developing with nodejs.

{ path: '/catalog/v0/items?MarketplaceId=ATVPDKIKX0DER&Query=toys', method: 'GET', host: 'sellingpartnerapi-na.amazon.com', region: 'us-east-1', service: 'execute-api', headers: { 'User-Agent': 'MyAmazonApp/1.0 (Language=JavaScript;)', 'x-amz-access-token': 'Atza|I*', Host: 'sellingpartnerapi-na.amazon.com', 'X-Amz-Security-Token': 'Fw***, 'X-Amz-Date': '20210315T115020Z', Authorization: 'AWS4-HMAC-SHA256 Credential=ASIASEECTM3DPLDT46EP/20210315/us-east-1/execute-api/aws4_request, SignedHeaders=host;x-amz-access-token;x-amz-date;x-amz-security-token, Signature=da2*****' } }

IanMeyers commented 3 years ago

Hello,

I think you probably have the wrong repository for this request, as it looks like you are trying to access the Selling Partners API? If so, please try starting at https://developer.amazonservices.com/support.

Thx,

Ian