Hi there.
I’m modifying a working Signable posting system and I have a problem I’m hoping you may be able to help me with. The following post is returning a 500 error from the API. Can you tell from the following what might be causing it? We had it working when we were sending 3 documents to a single signer and one copier. We have just changed it to be a single document and up to 3 copiers, but getting a 500 error isn’t very helpful.
This is from my localhost, not a live website. I’ve redacted business names and email addys.
Request:
Method: POST, RequestUri: 'https://api.signable.co.uk/v1/envelopes', Version: 1.1, Content: System.Net.Http.StringContent, Headers:
{
X-Signable-Mode: test
Authorization: Basic 000000000000000000000000000000000000000000000000000000000000000000000000000
Content-Type: application/json; charset=utf-8
Content-Length: 2282620
}
Response:
StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Date: Fri, 21 Mar 2025 14:35:00 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Server: nginx
Content-Type: text/html; charset=UTF-8
}, Trailing Headers:
{
}
Envelope:
{
"envelope_title" : "Account setup document for Some Business Name",
"envelope_documents" : [ {
"document_title" : "Account setup document for Some Business Name",
"document_file_name" : "Account setup document for Some Business Name.docx",
"document_file_content" : "UEsDBBQAAAAIAFZ6dVqAHudmdAEAAOkCAAARAAAAZG9jUHJvcHMvY29yZS54bWyNUstOwzAQvPMVke+pnZQWsJpUKqhICCQkgkDcjLNtDY5j2W7T/.....
......EsBAhQDFAAAAAgAVnp1Wk6lcoefAQAAiQkAABMAAAAAAAAAAAAAAKSBJhgYAFtDb250ZW50X1R5cGVzXS54bWxQSwUGAAAAABoAGgCjBgAA9hkYAAAA"
} ],
"envelope_parties" : [ {
"party_name" : "Some Business Name",
"party_email" : ["info@incrediblyuseful.net"](mailto:info@incrediblyuseful.net),
"party_role" : "signer1"
}, {
"party_name" : "Some Body",
"party_email" : ["someonel@somewhere.co.uk"](mailto:someonel@somewhere.co.uk),
"party_role" : "copy"
} ]
}
It all looks fine to me, but not to Signable it would seem. If you can see anything obvious I’d be really interested to find out what might be at fault.
Thanks in anticipation.