This signature is not assigned to you for signing. response
Thursday, July 5, 2018 at 12:45amHello, I am getting the following response, and I believe that I am sending the correct data.
I will copy here the request I am making
request:
{ debugId: 1,
uri: 'https://sandbox.esignlive.com/api/packages/oGGmH-MrSdWrf3hPBMirqiiCgG8=/documents/b98bb1fa64f49dc9003b230c401426c9cf86be9bbe319ca7/approvals/CZbduLYWcIEG/sign',
method: 'POST',
headers:
{ Authorization: 'Basic xxxxxxxxxxxxxx',
Accept: 'application/json; esl-empty-json=true; esl-api-version=11.0.3',
'Accept-Encoding': 'gzip, deflate, br',
'Content-Type': 'application/json; esl-api-version=11.0.3; esl-empty-json=true',
Cookie: 'ESIGNLIVE_SESSION_ID=xxxxxxxxxxxxxxxxxx',
host: 'sandbox.esignlive.com',
'content-length': 299 },
body: '{"data":{},"fields":[{"binding":null,"data":{},"height":60,"id":"Zt0ZzUtqcBAZ","left":76,"name":"","page":0,"subtype":"FULLNAME","top":453,"type":"SIGNATURE","validation":null,"value":null,"width":270}],"id":"CZbduLYWcIEG","name":"Entity 1530779831891","role":"58fec672-635a-4071-91c9-fd823330ec4e"}' } }
And this is the response I am getting:
response:
{ debugId: 1,
headers:
{ server: 'nginx',
date: 'Thu, 05 Jul 2018 09:42:23 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
'x-powered-by': 'Undertow',
allow: 'GET, POST, HEAD, PUT, PATCH, DELETE' },
statusCode: 403,
body:
{ messageKey: 'error.forbidden.signatureNotAssigned',
code: 403,
message: 'This signature is not assigned to you for signing.',
name: 'Access Denied' } }
Reply to: This signature is not assigned to you for signing. response
Thursday, July 5, 2018 at 05:59amPOST /api/authenticationTokens/signer/multiUse { "packageId": "packageId", "signerId": "signer1", "sessionFields": { "Bulk Signing on behalf of": "signer1" }, "value": null }The generated token would appear in the value attribute in response payload. 2. Using this authenticationToken to generate the session token:POST /auth?signerAuthenticationToken={signerAuthenticationToken}Reply to: This signature is not assigned to you for signing. response
Thursday, July 5, 2018 at 03:09amAuthorization: 'Basic xxxxxxxxxxxxxx'attribute from your request headers, as you are using ESIGNLIVE_SESSION_ID to simulating signer to sign the signature approval, there shouldn't appear anything about sender. I noticed that you are using api to sign for the specific approval, please make sure the signer has confirmed the consent-document already otherwise you could probably get another error response telling you "violate the signing order". Because in our Bulk Sign guidance, we used a "sign all documents in one call" api which could be different from your case. And I removed the api-key from your post. Thanks for posting and hope this reply could help you! :)Reply to: This signature is not assigned to you for signing. response
Thursday, July 5, 2018 at 04:55ambody: { messageKey: 'error.unauthorised.noSession', message: 'Failed to retrieve Session', code: 401, name: 'Unauthorized' }Reply to: This signature is not assigned to you for signing. response
Thursday, July 5, 2018 at 05:32amReply to: This signature is not assigned to you for signing. response
Thursday, July 5, 2018 at 05:35amReply to: This signature is not assigned to you for signing. response
Friday, July 6, 2018 at 12:34amReply to: This signature is not assigned to you for signing. response
Friday, July 6, 2018 at 06:45am/api/packages/{packageId}/documents/{documentId}/approvals/{approvalId}/signisn't one we'd suggest use of:HTTP Request POST /api/packages/{packageId}/documents/signed_documents HTTP Headers Accept: application/json Content-Type: application/json Cookie: ESIGNLIVE_SESSION_ID={sessionToken} Request Payload { "documents": [ { "id": "default-consent" }, { "id": "your document id1" }, { "id": "your document id2" }, {...} ] }Thanks for your post and hope you find this reply helpful!Reply to: This signature is not assigned to you for signing. response
Monday, July 9, 2018 at 11:42pm{ request: { debugId: 3, uri: 'https://sandbox.esignlive.com/api/packages/i2ULoALa37cb4jimHnHsvcnrNqs=/documents/signed_documents', method: 'POST', headers: { Cookie: 'ESIGNLIVE_SESSION_ID=xxxxxxxx', host: 'sandbox.esignlive.com', accept: 'application/json', 'content-type': 'application/json', 'content-length': 98 }, body: '{"documents":[{"id":"default-consent"},{"id":"b6960c2641cd63503866cef5ce364a9772ff61436ceae70d"}]}' } }And this is the reply:body: { messageKey: 'error.forbidden.signatureNotAssigned', message: 'This signature is not assigned to you for signing.', code: 403, name: 'Access Denied' }Reply to: This signature is not assigned to you for signing. response
Tuesday, July 10, 2018 at 03:32amReply to: This signature is not assigned to you for signing. response
Tuesday, December 18, 2018 at 06:08amReply to: This signature is not assigned to you for signing. response
Tuesday, December 18, 2018 at 07:43amReply to: This signature is not assigned to you for signing. response
Tuesday, December 18, 2018 at 07:46amReply to: This signature is not assigned to you for signing. response
Tuesday, December 18, 2018 at 09:40amStringBuilder sb = new StringBuilder(200); sb.Append("{\"documents\": ["); foreach (JObject document in documents) { sb.Append("{ \"id\": \"").Append(document["id"]).Append("\"},"); } sb.Remove(sb.Length - 1, 1); sb.Append("]}"); Debug.WriteLine(sb.ToString()); StringContent jsonContent2 = new StringContent(sb.ToString(), Encoding.UTF8, "application/json");This seems solved the issue, and please create a new package and test the code. DuoReply to: This signature is not assigned to you for signing. response
Tuesday, December 18, 2018 at 10:34amReply to: This signature is not assigned to you for signing. response
Tuesday, December 18, 2018 at 10:46am