AWS SQS - The security token included in the request is invalid

Hihi, when trying to send a message to AWS SQS, I get The security token included in the request is invalid.
I am using Gatling 3.8.2, Java 1.8, Maven, AWS SQS 2.0.0, AWS Java SDK 1.12.338.
I’ve set the following environment variables:

  1. export AWS_ACCESS_KEY_ID

These values are also set in ~/.aws/credentials

aws_access_key_id =
aws_secret_access_key =
aws_session_token =

Hi @ciaranbrowne,

Not sure to understand what you are waiting from the Gatling community.
Is this error message comes from Gatling (which plugin?, which code?) or from your usage of AWS SDK?

I think it is from the later, so nothing to do with Gatling. AWS SDK community (or documentation) will be a better place for this question.

If I’m wrong, please explain more your use case (code sample, reproducer, etc.)


1 Like

Possible causes: The Security Token included in the Request is Invalid | bobbyhadz

But indeed, this is purely an AWS issue, unrelated to Gatling.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.