Skip to content

Amazon Affiliate Bot for Discord

0

I have a question with using the API. I created a Discord Bot that would scan selected Product types and update channels for Products that are on sale with Affiliate tag. It was working when I first created it and then I began to Advertise my Discord Channel as a Content Creator and then with the latest update, I started getting the "403 Not Authorized" and now my Discord channel and Affiliate Plan is dead until I can get it up and running again. Is there a reason why it stopped working? or Is there a way I need to write my Bot to not break any rules?

asked 5 months ago81 views
1 Answer
0

To use the Amazon Affiliate API (Product Advertising API) properly with your Discord bot, there are several important considerations that might explain why you're experiencing "403 Not Authorized" errors.

First, to use the Amazon Affiliate API, you need both an Amazon Associates account and an AWS account that are properly linked together. The API requires AWS credentials (Access Key and Secret Key) for authentication. If these credentials have expired or been revoked, you would receive authorization errors.

There are specific usage policies for the Product Advertising API that must be followed. When you started advertising your Discord channel as a content creator, you may have inadvertently violated some of these policies. Common issues include:

  1. Exceeding API request limits
  2. Using the API in a way that violates Amazon's terms of service
  3. Changes to your affiliate account status
  4. Expired or revoked API credentials

For your Discord bot specifically, you need to ensure that:

  • You're properly authenticating each API request
  • You're not making excessive API calls
  • Your bot is displaying Amazon products in accordance with Amazon's affiliate program requirements
  • Your implementation includes proper error handling and respects rate limits

To fix this issue, you should check your Amazon Associates account status, verify your AWS credentials are still valid, and review the Product Advertising API documentation to ensure your bot's implementation follows all guidelines. You might need to regenerate your API keys or contact Amazon Associates support if the problem persists.
Sources
Amazon Affiliate API can able to create from AWS. | AWS re:Post
Product Advertising API Use Case | AWS re:Post

answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.