Skip to content

[Bug]: The security token included in the request is invalid #368

Discussion options

You must be logged in to vote

Hey, I've converted this to a discussion as this is not an issue with the sqs-consumer library, we don't do anything with credentials, that is managed by the SQSClient, either the one you provide, or the default client within the codebase.

So this is an issue with the queue that you have setup, your credentials or how you are providing those credentials.

By default, sqs-consumer expects credentials to be provided like this:

https://github.com/bbc/sqs-consumer#credentials

Which also details how you can provide a custom SQSClient. For a custom endpoint, where you are not using an SQS queue, you will have to supply a custom endpoint, like we do here: https://github.com/bbc/sqs-consumer/blob/…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BrachyKnight
Comment options

@nicholasgriffintn
Comment options

Answer selected by BrachyKnight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
2 participants
Converted from issue

This discussion was converted from issue #367 on February 24, 2023 14:10.