NazirNoori | Posts: 7

Access denied to delete package

0 votes

Hi,

I'm having an issue when trying to use the delete feature to permanently delete a package.

Using the Java SDK, I simply execute the following line.

eslClient.getPackageService().deletePackage(new PackageId(packageId));

This returns an HTTP status 500 along with the  message: You don't have access rights to delete package with id: 0RvIIqv8uDjnT-vaytT6nomewWc=

This package has two signers in it. I noticed that if nobody signs the package, then the deletePackage() would allow me to delete it. But if at least one signer has signed the document, then it will give the access denied error message above. I create packages with multiple different types of senders, though I didn't see a way to specify a sender when deleting a package, nor why that would be required.

So my question is: is there any way to get around this? As long as the package is not completed, I'd like to be able to delete the package.

Thanks.


NazirNoori | Posts: 7

Reply to: Access denied to delete package

0 votes

Oh, one more thing I also tried is to change the package status back to draft mode, but the issue persisted.


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off