Skip to content

[SQS] Invalid exception when receipt handler is invalid in changeMessageVisibility #1628

@fededonna

Description

@fededonna

When we send an invalid message handler the contract of the api is saying that we should get back an ReceiptHandleIsInvalidException but instead we are receiving this:

com.amazonaws.services.sqs.model.AmazonSQSException: Value AQEB4Th3fRVytfInC2x4LE5Em5fSzVE3uR9Ozd3Uu1i3lJvSqERwa7U8+MrImfU+zhCUs7Z4DW9zKZevarJPxp5MnTLsqAs1M/hrr7+jNL/Oc32/IjKF5RFOR7EPriir5m/GFmHpN947EcBZs5qMIbg8msEaZljuTqmGA47kWeMfDa5LJHhYxLSLJXJOZTBcL5TbOQJOqGmulqNHacf85U34KWZuwksqsJF5nFmi5sADVcBq/Tqn0qaEFycoQ6mgGob66uIPZSCWrYYuJEuwIzs06kwJm84OA1m3A+OcPdPM7xmfeqCMEeGHaKB5VnNt3dv5 for parameter ReceiptHandle is invalid. Reason: The receipt handle has expired. (Service: AmazonSQS; Status Code: 400; Error Code: InvalidParameterValue; Request ID: 0bd103e8-6a07-5df6-be0e-50733c68afbf)

Metadata

Metadata

Assignees

No one assigned

    Labels

    service-apiThis issue is due to a problem in a service API, not the SDK implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions