-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
So basically that, everything worked fine in 1.2.x. I am using Localstack, which should not make any difference, and I'm loading the credentials and config from aws CLI files.
If I try to upgrade to 2.0.0 then I get this error in the method receiveMessage
of the consumer.js
file from sqs-consumer
InvalidClientTokenId: The security token included in the request is invalid.
If I go to consumer.js
and try to log region and credentials I got his which looks as expected:
console.log({region: this.sqs.config.region(), credentials: await this.sqs.config.credentials()})
{
region: Promise { 'eu-central-1' },
credentials: { accessKeyId: 'dummy', secretAccessKey: 'dummy' }
}
Any idea on what might be happening? As I said this setup was working fine in 1.2.x and according to the docs no further configuration needs to be done if I'm not wrong.
Metadata
Metadata
Assignees
Labels
No labels