Skip to main content
Question

USER_NOT_ENVELOPE_SENDER_OR_RECIPIENT when download document or revoke a envelope

  • July 1, 2024
  • 1 reply
  • 191 views

Forum|alt.badge.img+1

We have integrated with DocuSign(Java SDK). When downloading signed documents and revoking envelope, most processes are successful, but a few report this error. What could be the reason?

{

"errorCode": "USER_NOT_ENVELOPE_SENDER_OR_RECIPIENT",

"message": "This user is not the sender or a recipient of the envelope. Only the sender or a recipient of the envelope may perform the requested operation."

}

1 reply

Forum|alt.badge.img+3

@xiamanyu The error seems to outline the cause of the error. 
It sounds like the envelope is created by user “A”, but your code is making the request as user “B”. 
Since user “B” didn’t send the envelope and wasn’t a recipient of the envelope they don’t have access. 
This is why the error is “Only the sender or a recipient of the envelope may perform the requested operation.”
A workaround would likely be to either: 
1: Make the same request as an admin user. 
2: Make sure the user making the request is a sender or recipient of the envelope they are trying to get details of it on.