Skip to content

ReceiptHandle expired error in batch jobs #1875

Open
@vishalbollu

Description

@vishalbollu

Version

0.25

Stack traces

ClientError: An error occurred (InvalidParameterValue) when calling the DeleteMessage operation: Value <XXXXXXXXX> for parameter ReceiptHandle is invalid. Reason: The receipt handle has...
  File "batch.py", line 330, in <module>
    start()
  File "batch.py", line 326, in start
    sqs_loop()
  File "batch.py", line 190, in sqs_loop
    handle_batch_message(message)
  File "batch.py", line 230, in handle_batch_message
    sqs_client.delete_message(QueueUrl=queue_url, ReceiptHandle=receipt_handle)
  File "botocore/client.py", line 337, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "botocore/client.py", line 656, in _make_api_call
    raise error_class(parsed_response, operation_name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BatchAPISomething related to the BatchAPI kindbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions