You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to queue an element to the queue, I receive this error from the AWS SDK
yii\base\ErrorException: The provided type for MessageAttributes -> TTR -> StringValue value was integer. The modeled type is string. in /var/www/html/pmstore/vendor/aws/aws-sdk-php/src/QueryCompatibleInputMiddleware.php:165
What's expected?
that the element would be queued
What do you get instead?
the error listed above
I notice that at line 200 of \vendor\yiisoft\yii2-queue\src\drivers\sqs\Queue.php
What steps will reproduce the problem?
I have a fifo queue on AWS SQS service.
When I try to queue an element to the queue, I receive this error from the AWS SDK
yii\base\ErrorException: The provided type for
MessageAttributes -> TTR -> StringValue
value wasinteger
. The modeled type isstring
. in /var/www/html/pmstore/vendor/aws/aws-sdk-php/src/QueryCompatibleInputMiddleware.php:165What's expected?
that the element would be queued
What do you get instead?
the error listed above
I notice that at line 200 of \vendor\yiisoft\yii2-queue\src\drivers\sqs\Queue.php
'MessageAttributes' => [
'TTR' => [
'DataType' => 'Number',
'StringValue' => $ttr,
],
],
If I cast $ttr to string, it works as expected
Additional info
The text was updated successfully, but these errors were encountered: