Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQS driver error: The provided type for WaitTimeSeconds value was string. The modeled type is integer. #522

Closed
flaviovs opened this issue Feb 20, 2025 · 0 comments

Comments

@flaviovs
Copy link
Contributor

When using the SQS driver and passing a timeout to the queue/listen controller action, the queue runner crashes with the error below:

yii\base\ErrorException: The provided type for `WaitTimeSeconds` value was `string`. The modeled type is `integer`

The problem is caused by the $timeout parameter of actionListen from the command line being passed as a string value to downstream calls up until it reaches AWS SDK, which apparently checks the data type and bails if it's not a PHP integer.

I'll be sending a pull request shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant