Open
Description
Laravel Version
12.7.2
PHP Version
8.4.5
Database Driver & Version
No response
Description
It ignores custom SQS_PREFIX
set in .env
, and always POST https://{AWS_DEFAULT_REGION}.ap-southeast-2.amazonaws.com
Error message
[2025-04-07 14:59:46] local.ERROR: Error executing "ReceiveMessage" on "https://sqs.ap-southeast-2.amazonaws.com"; AWS HTTP error: Client error: `POST https://sqs.ap-southeast-2.amazonaws.com` resulted in a `403 Forbidden` response:
{"__type":"com.amazon.coral.service#UnrecognizedClientException","message":"The security token included in the request i (truncated...)
InvalidClientTokenId (Sender): The security token included in the request is invalid. - {"__type":"com.amazon.coral.service#UnrecognizedClientException","message":"The security token included in the request is invalid."} {"exception":"[object] (Aws\\Sqs\\Exception\\SqsException(code: 0): Error executing \"ReceiveMessage\" on \"https://sqs.ap-southeast-2.amazonaws.com\"; AWS HTTP error: Client error: `POST https://sqs.ap-southeast-2.amazonaws.com` resulted in a `403 Forbidden` response:
{\"__type\":\"com.amazon.coral.service#UnrecognizedClientException\",\"message\":\"The security token included in the request i (truncated...)
InvalidClientTokenId (Sender): The security token included in the request is invalid. - {\"__type\":\"com.amazon.coral.service#UnrecognizedClientException\",\"message\":\"The security token included in the request is invalid.\"} at /var/www/html/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:196)
[stacktrace]
Steps To Reproduce
set SQS_PREFIX
as http://elasticmq.local/000000000000
and it will get ignored.