I have come across the same problem once again while using updatePackage(). I get the error “Could not update role Exception”
But his time my use case is very simple. I have a package in the draft status without any documents or signers in it, so essentially it is a Empty Package
I use the Java SDK and add a document and signer to a DocumentPackage and try to update the existing empty package with it , but end up with the same exception.
If you want to update/add signers and documents to an existing package, updatePackage() function won’t work. This function only updates package level attributes (settings/descriptions/emailMessage/expireData/etc.) like the sample code does: