[GH-ISSUE #2114] Feedback for “API Reference” V2 #610

Closed
opened 2026-02-26 18:47:46 +03:00 by kerem · 1 comment
Owner

Originally created by @RykerSchenckES on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/2114

I am receiving this error message

{"message":"Field type mismatch for field 2952979: expected name, got text","code":"INTERNAL_SERVER_ERROR","data":{"code":"INVALID_BODY","httpStatus":400,"path":"template.createDocumentFromTemplate","appError":{"code":"INVALID_BODY","message":"Field type mismatch for field 2952979: expected name, got text"}}}

Here's the thing, when I input "name" or "NAME" I receive

{"message":"Input validation failed","code":"BAD_REQUEST","data":{"code":"BAD_REQUEST","httpStatus":400,"path":"template.createDocumentFromTemplate"},"issues":[{"code":"invalid_union_discriminator","options":["text","number","radio","checkbox","dropdown","date"],"path":["prefillFields",0,"type"],"message":"Invalid discriminator value. Expected 'text' | 'number' | 'radio' | 'checkbox' | 'dropdown' | 'date'"}]}

Originally created by @RykerSchenckES on GitHub (Oct 28, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/2114 I am receiving this error message {"message":"Field type mismatch for field 2952979: expected name, got text","code":"INTERNAL_SERVER_ERROR","data":{"code":"INVALID_BODY","httpStatus":400,"path":"template.createDocumentFromTemplate","appError":{"code":"INVALID_BODY","message":"Field type mismatch for field 2952979: expected name, got text"}}} Here's the thing, when I input "name" or "NAME" I receive {"message":"Input validation failed","code":"BAD_REQUEST","data":{"code":"BAD_REQUEST","httpStatus":400,"path":"template.createDocumentFromTemplate"},"issues":[{"code":"invalid_union_discriminator","options":["text","number","radio","checkbox","dropdown","date"],"path":["prefillFields",0,"type"],"message":"Invalid discriminator value. Expected 'text' | 'number' | 'radio' | 'checkbox' | 'dropdown' | 'date'"}]}
kerem 2026-02-26 18:47:46 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 2025):

Thank you for opening your first issue and for being a part of the open signing revolution!

One of our team members will review it and get back to you as soon as it possible 💚

Meanwhile, please feel free to hop into our community in Discord

<!-- gh-comment-id:3458546185 --> @github-actions[bot] commented on GitHub (Oct 28, 2025): Thank you for opening your first issue and for being a part of the open signing revolution! <br /> One of our team members will review it and get back to you as soon as it possible 💚 <br /> Meanwhile, please feel free to hop into our community in [Discord](https://documen.so/discord)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#610
No description provided.