400 Bad Request on create signing order request

I am currently implementing signing of documents with your enterprise sign api. I am using the SDK for .Net.

However, I am facing some unexpected problems when requesting the create sign order endpoint receiving a 400 Bad Request. Attached you will find a screenshot of the request I am sending. The request has all the required attributes according to your documentation.

This is the url I am calling: https://api.signicat.com/enterprise/sign/orders

I have validated that the client id, clientSecret and authToken is sent correctly.

Let me know if there is any more information you need.

Hi Simen,

We have previously responded to you via our support system about this, but want to share some of the information here as well to make it visible for the rest of our community members.

The 400 bad request error can indicate several issues, like wrong values in the body or token. The response will have an error message to indicate where the issue lays, like this response:

In this case it would be “daysUntilDeletion” that throws the error, setting this value to an int between 1 and 30 will resolve the error.

Best regards,
Jonas Kristiansen
Signicat