Php product.ERROR:异常';Aws\Sqs\Exception\SQSExException';

Php product.ERROR:异常';Aws\Sqs\Exception\SQSExException';,php,laravel,laravel-5.1,Php,Laravel,Laravel 5.1,在Laravel 5.1中,我收到以下错误: product.ERROR: exception 'Aws\Sqs\Exception\SqsException' with message 'Error executing "ReceiveMessage" on "https://sqs.us-east-1.amazonaws.com/your-queue-url"; AWS HTTP error: Client error: `POST https://sqs.us-east-1.amazon

在Laravel 5.1中,我收到以下错误:

product.ERROR: exception 'Aws\Sqs\Exception\SqsException' with message 
'Error executing "ReceiveMessage" on "https://sqs.us-east-1.amazonaws.com/your-queue-url"; AWS HTTP error: Client error: `POST https://sqs.us-east-1.amazonaws.com/your-queue-url` resulted in a `403 Forbidden` response:
<?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>I (truncated...)
 InvalidClientTokenId (client): The security token included in the request is invalid. - <?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>InvalidClientTokenId</Code><Message>The security token included in the request is invalid.</Message><Detail/></Error><RequestId>f2ee54a4-bc0f-56cf-959f-046ce8302605</RequestId></ErrorResponse>'
但我没有使用Sqs。我的配置:
QUEUE\u DRIVER=async

发生了什么事?谢谢

GuzzleHttp\Exception\ClientException: Client error: `POST https://sqs.us-east-1.amazonaws.com/your-queue-url` resulted in a `403 Forbidden` response:
<?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>I (truncated...)
 in /iwzdata/www/taotaoe/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111
Stack trace:
#0 /iwzdata/www/taotaoe/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /iwzdata/www/taotaoe/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /iwzdata/www/taotaoe/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 /iwzdata/www/taotaoe/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()

答案在错误消息中

InvalidClientTokenId(客户端):请求中包含的安全令牌无效


确保您使用了正确的令牌并以正确的方式发送。一个好的做法是使用代理(如)查看您通过线路实际发送的内容。

答案在错误消息中

InvalidClientTokenId(客户端):请求中包含的安全令牌无效


确保您使用了正确的令牌并以正确的方式发送。一个好的做法是使用代理(如)查看您实际通过线路发送的内容。

看起来像Guzzle的错误。您可能还需要添加用于生成/发送请求的代码。看起来像Guzzle的错误。您可能还需要添加用于生成/发送请求的代码。