Skip to content

Docs don't properly explain how to delete claims #658

Open
@rbalik

Description

@rbalik

The documentation says that to delete a message pulled from the queue you just do:
$message->delete();

In reality this fails with a 403. You have to specify the claim ID to properly delete the message. The code that I got working looks like:

$claimId = $message->getClaimIdFromHref();
$message->delete($claimId);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions