Repeated Invalid Access Key and Security Key.

0

Last September I hired a developed to create a text to speech program for me. The program used Amazon Polly and I signed up with AWS. I thought I was charged for my usage and used Auto Pay for the billing.

Yesterday, my program asked me for my Access and Security Keys. When I typed in my saved screenshots, I got an invalid message. I went to my account and found that the Access Key listed there was different, so I typed that in, not knowing that I needed the corresponding Secret Key which I did not have. So I got another invalid prompt. I created a new Access and Secret Key and typed those in, but I still got an invalid prompt.

I went to my Billing History and every month from September to May has a Grand Total of $0.00. I'm a single user, so I only use a small amount of data. I don't see any distinguishing charges on my credit card statements from AWS month to month.

Is there a threshold of data usage to be charged? Was there a free trial that ended?do I need to make a purchase or subscription? I just want to be able to use Amazon Polly in my program for my business. Any help or guidance would be greatly appreciated.

Marvin

Marvin
asked 4 months ago204 views
2 Answers
4
Accepted Answer

Hello.

Amazon Polly has a free tier for one year after creating an AWS account.
If you created an AWS account in September of last year, you can use the free tier until September of this year.
https://aws.amazon.com/polly/pricing/?nc1=h_ls

For Amazon Polly’s Standard voices, the free tier includes 5 million characters per month for speech or Speech Marks requests, for the first 12 months, starting from your first request for speech through Polly. For Neural voices, the free tier includes 1 million characters per month for speech or Speech Marks requests, for the first 12 months, starting from your first request for speech through Polly. For Long-Form voices, the free tier includes 500 thousand characters per month for speech or Speech Marks requests, for the first 12 months, starting from your first request for speech through Polly. For Generative voices, the free tier includes 100 thousand characters per month for speech requests, for the first 12 months, starting from your first request for speech through Polly.

Where did you set the access key and secret access key?
For example, if your application is running on an on-premises server, you will need an access key, but if you are running it on EC2, you can use Amazon Polly by setting an IAM role.
By the way, have you tried restarting the application after setting the access key?

profile picture
EXPERT
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago
profile picture
EXPERT
reviewed 4 months ago
4

Hi Marvin,

Here's a step-by-step approach to troubleshoot and resolve your issue:

Log in to AWS Console: Go to the AWS Management Console.

Check Billing Dashboard:

  • Navigate to the Billing and Cost Management Dashboard.
  • Look for the Free Tier usage summary and billing details.
  • Check if there are any charges or alerts about exceeding Free Tier limits.

Verify Access Keys:

  • Navigate to the IAM (Identity and Access Management) service.
  • Go to the "Users" section and select your user.
  • Under "Security credentials", ensure your new access key and secret key are active.
  • Update your program with the new credentials.

Update Program Configuration:

  • Ensure your program is correctly configured to use the new access and secret keys.
  • Verify that the keys are entered correctly and there are no typos.

Test Amazon Polly Service:

  • Use the AWS CLI or SDK to test Amazon Polly with the new keys.
  • Example AWS CLI command:
aws polly synthesize-speech --output-format mp3 --text "Hello, world!" --voice-id Joanna output.mp3

Review Usage:

  • Check the Amazon Polly usage in the AWS Management Console.
  • Navigate to the Polly service and review your usage metrics to ensure you are within any free usage limits.
EXPERT
answered 4 months ago
  • Thank you so much for such a detailed answer. I will follow these steps today.

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.

Guidelines for Answering Questions