Closed jorgenpersson closed 7 years ago
Hi @jorgenpersson, this error is being returned by SQS. The visibility timeout begins when you call the ReceiveMessage API. When you called ChangeMessageVisibility API, some time has probably elapsed from when the message was initially received. The total time that SQS allows the visibility to be extended is 12 hours. By calling ChangeMessageVisibility with VisibilityTimeout as 43200, the total visibility is being extended beyond the 12 hour limit, hence the error.
Closing the issue, feel free to reopen if you think is an SDK issue.
Expected Behavior
Report edit: 43199 is also invalid but shouldn't be Original report: Allow 43200 as visibility timeout
Current Behavior
Report edit: Message when trying with 43199:
Value 43199 for parameter VisibilityTimeout is invalid. Reason: Total VisibilityTimeout for the message is beyond the limit [43200 seconds].
Original report: Throws exception with message
Steps to Reproduce (for bugs)
Your Environment
.NET Core Info
dotnet --info
: