Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
A

alanlg

@alanlg
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error 500 when adding a signature field via Documenso API
    A alanlg

    Hello everyone,

    I am currently experiencing an issue with the Documenso API when attempting to add a signature field to a document. Here are the details:

    Context:
    • Application: Documenso
    • Objective: Add a signature field to a document via the API

    Issue encountered:
    When I perform a POST request to the /api/v1/documents/{documentId}/fields endpoint to add a signature field, the server returns a 500 error with the message {"message": "Something went wrong"}.

    Request details:
    • Method: POST
    • Endpoint: https://mywebsite.com/api/v1/documents/{documentId}/fields
    • Headers:
    • Authorization: {mytoken}
    • Content-Type: application/json
    Body :
    {
    "recipientId": 21,
    "type": "SIGNATURE",
    "pageNumber": 0,
    "pageX": 100,
    "pageY": 200,
    "pageWidth": 150,
    "pageHeight": 50
    }

    Steps already taken:
    1. Log verification: I have checked the application logs, but no relevant information regarding this error is present.
    2. Environment variable modification: I added the LOG_LEVEL=debug variable to obtain more detailed logs, without success.
    3. Request testing: I have tried with simplified payloads and ensured that the recipientId and documentId are correct, but the error persists.

    If anyone has encountered this issue or has suggestions on how to resolve it, I would greatly appreciate your assistance.

    Thank you in advance for your support.

    Best regards,

    Alan LG

    Documenso
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search