[GH-ISSUE #1713] Document not found for field xxx #487

Open
opened 2026-02-26 18:47:15 +03:00 by kerem · 2 comments
Owner

Originally created by @ASchmidt84 on GitHub (Mar 17, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/1713

Issue Description

I have documenso as docker container.

After changing the owner of the certificate file i try to start the finish (all documents are pending!) the docuemnt.
I get this error:

Error: Document not found for field 201
    at c (/app/apps/web/.next/server/pages/api/trpc/[trpc].js:1:61025)
    at async /app/apps/web/.next/server/pages/api/trpc/[trpc].js:1:148429
    at async resolveMiddleware (file:///app/node_modules/@trpc/server/dist/index.mjs:420:30)
    at async callRecursive (file:///app/node_modules/@trpc/server/dist/index.mjs:456:32)
    at async callRecursive (file:///app/node_modules/@trpc/server/dist/index.mjs:456:32)
    at async resolve (file:///app/node_modules/@trpc/server/dist/index.mjs:486:24)
    at async inputToProcedureCall (file:///app/node_modules/@trpc/server/dist/resolveHTTPResponse-cd1a9112.mjs:46:22)
    at async Promise.all (index 0)
    at async resolveHTTPResponse (file:///app/node_modules/@trpc/server/dist/resolveHTTPResponse-cd1a9112.mjs:182:37)
    at async file:///app/node_modules/@trpc/server/dist/nodeHTTPRequestHandler-04c42df8.mjs:67:9

Steps to Reproduce

No response

Expected Behavior

No response

Current Behavior

No response

Screenshots (optional)

No response

Operating System [e.g., Windows 10]

No response

Browser [e.g., Chrome, Firefox]

No response

Version [e.g., 2.0.1]

No response

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
Originally created by @ASchmidt84 on GitHub (Mar 17, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/1713 ### Issue Description I have documenso as docker container. After changing the owner of the certificate file i try to start the finish (all documents are pending!) the docuemnt. I get this error: ``` Error: Document not found for field 201 at c (/app/apps/web/.next/server/pages/api/trpc/[trpc].js:1:61025) at async /app/apps/web/.next/server/pages/api/trpc/[trpc].js:1:148429 at async resolveMiddleware (file:///app/node_modules/@trpc/server/dist/index.mjs:420:30) at async callRecursive (file:///app/node_modules/@trpc/server/dist/index.mjs:456:32) at async callRecursive (file:///app/node_modules/@trpc/server/dist/index.mjs:456:32) at async resolve (file:///app/node_modules/@trpc/server/dist/index.mjs:486:24) at async inputToProcedureCall (file:///app/node_modules/@trpc/server/dist/resolveHTTPResponse-cd1a9112.mjs:46:22) at async Promise.all (index 0) at async resolveHTTPResponse (file:///app/node_modules/@trpc/server/dist/resolveHTTPResponse-cd1a9112.mjs:182:37) at async file:///app/node_modules/@trpc/server/dist/nodeHTTPRequestHandler-04c42df8.mjs:67:9 ``` ### Steps to Reproduce _No response_ ### Expected Behavior _No response_ ### Current Behavior _No response_ ### Screenshots (optional) _No response_ ### Operating System [e.g., Windows 10] _No response_ ### Browser [e.g., Chrome, Firefox] _No response_ ### Version [e.g., 2.0.1] _No response_ ### Please check the boxes that apply to this issue report. - [x] I have searched the existing issues to make sure this is not a duplicate. - [x] I have provided steps to reproduce the issue. - [x] I have included relevant environment information. - [x] I have included any relevant screenshots. - [x] I understand that this is a voluntary contribution and that there is no guarantee of resolution. - [x] I want to work on creating a PR for this issue if approved
Author
Owner

@iamdoubz commented on GitHub (Mar 19, 2025):

After clicking the log in button and observing the Network tab in my browser, it calls the credential api at /api/auth/callback/credentials and the cookie is set to:

_pk_id.15.e632=random.random.; _scor_uid=random; yourls_random=random; PHPSESSID=random; preferred-team-url=; next-auth.csrf-token=random; next-auth.callback-url=http%3A%2F%2Flocalhost%3A3000%2F
<!-- gh-comment-id:2737208956 --> @iamdoubz commented on GitHub (Mar 19, 2025): After clicking the log in button and observing the Network tab in my browser, it calls the credential api at `/api/auth/callback/credentials` and the cookie is set to: ``` _pk_id.15.e632=random.random.; _scor_uid=random; yourls_random=random; PHPSESSID=random; preferred-team-url=; next-auth.csrf-token=random; next-auth.callback-url=http%3A%2F%2Flocalhost%3A3000%2F ```
Author
Owner

@colocated commented on GitHub (May 3, 2025):

Update to latest Documenso and try again, Documenso no longer uses Nextjs.

For docker environments: docker pull documenso/documenso:latest or docker pull documenso/documenso:v1.10.3

See v1.10.3 on Docker Hub.

<!-- gh-comment-id:2848688798 --> @colocated commented on GitHub (May 3, 2025): Update to latest Documenso and try again, Documenso no longer uses Nextjs. For docker environments: `docker pull documenso/documenso:latest` or `docker pull documenso/documenso:v1.10.3` See [v1.10.3](https://hub.docker.com/layers/documenso/documenso/v1.10.3/images/sha256-9322bc8253481200bfccac3013ba03581ad43e87aa2a7b71ef13b97e9624bf2b) on Docker Hub.
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#487
No description provided.