You need to define a visible signature or initials to sign this document
Describe the bug
cannot sign the document
To reproduce
- Add file using /ocs/v2.php/apps/libresign/api/v1/file
- Validate file using /ocs/v2.php/apps/libresign/api/v1/file/validate/file_id/:id
- Request signature using /ocs/v2.php/apps/libresign/api/v1/request-signature
- Then set signature element using /ocs/v2.php/apps/libresign/api/v1/request-signature
- Then send sign notify using /ocs/v2.php/apps/libresign/api/v1/notify/signers
Once the requester received the email and sent the sign request, it shows the error
Expected behavior
expect to sign the document when user click and sign
Screenshots
Environment information
Operating System: Linux 5.15.0-135-generic x86_64
CPU: AMD EPYC-Rome Processor (2 threads)
Memory: 3.82 GB
nextcloud: 31.0.5.1
LibreSign: 11.2.4
Additional context
I'm initiating the sign-in flow through the API.
- Add file using /ocs/v2.php/apps/libresign/api/v1/file
- Validate file using /ocs/v2.php/apps/libresign/api/v1/file/validate/file_id/:id
- Request signature using /ocs/v2.php/apps/libresign/api/v1/request-signature
- Then set signature element using /ocs/v2.php/apps/libresign/api/v1/request-signature
- Then send sign notify using /ocs/v2.php/apps/libresign/api/v1/notify/signers
Once the requester received the email and sent the sign request it shows the error
Did you made the same entire flow (add a file to be signed, add a signer by email, set visible element to this signer, access the link that was received by email and sign the document) using the LibreSign web interface and get the same message?
Sounds that you could made some mistake at this API flow but isn't possible to say that is or not a mistake because I haven't the entire request that you made on each step of your flow.
Did you made the same entire flow (add a file to be signed, add a signer by email, set visible element to this signer, access the link that was received by email and sign the document) using the LibreSign web interface and get the same message?
Sounds that you could made some mistake at this API flow but isn't possible to say that is or not a mistake because I haven't the entire request that you made on each step of your flow.
Yes, in the web interface, I didn't see any such errors, with the same flow. used the same below apis and same order i have executed step 1. Add file using /ocs/v2.php/apps/libresign/api/v1/file step 2. Validate file using /ocs/v2.php/apps/libresign/api/v1/file/validate/file_id/:id step 3. Request signature using /ocs/v2.php/apps/libresign/api/v1/request-signature step 4. Then set signature element using /ocs/v2.php/apps/libresign/api/v1/request-signature step 5. Then send sign notify using /ocs/v2.php/apps/libresign/api/v1/notify/signers
Could you compare the requests made at web interface at developer tools of your browser with your API requests?
If is possible, also would be good to have the entire context of requests that you are making, the path, header and body of all requests.
Hi @Ksoft-Technologies were you able to better evaluate the scenario by comparing it with the requests made by the interface or perhaps you can provide a list of requests with sample data to reproduce the scenario?