[GH-ISSUE #561] [Bug] Download Button not working for some files #150

Closed
opened 2026-02-26 18:45:34 +03:00 by kerem · 11 comments
Owner

Originally created by @Abhinav-Developer-23 on GitHub (Oct 14, 2023).
Original GitHub issue: https://github.com/documenso/documenso/issues/561

Originally assigned to: @3xp10it3r on GitHub.

The download button on the dashboard does not work for some files.

Issue Description

The download button on the dashboard does not work for some files.
for example
https://www.sldttc.org/allpdf/21583473018.pdf

Steps to Reproduce

  1. create a signer for this https://www.sldttc.org/allpdf/21583473018.pdf with at least two recipients in staging
  2. Sign using both the recipients
  3. Go to the dashboard and download the file. you will get an error in the console and the file will not download

below is the error message in the console output

Uncaught (in promise) TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
at s.from (9235-3b4546a79de2921d.js:9:30071)
at 9235-3b4546a79de2921d.js:9:32103

Expected Behavior

Download should start

Current Behavior

It is not downloading and no error is shown in the ui

Screenshots (optional)

https://github.com/documenso/documenso/assets/145282438/ba8d56e8-b363-49d4-8429-d26218b89289

Environment

  • OS: ubuntu 22
  • Browser: Version 118.0.5993.32 (Official Build) beta (64-bit)

Checklist

  • 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.
Originally created by @Abhinav-Developer-23 on GitHub (Oct 14, 2023). Original GitHub issue: https://github.com/documenso/documenso/issues/561 Originally assigned to: @3xp10it3r on GitHub. The download button on the dashboard does not work for some files. ## Issue Description The download button on the dashboard does not work for some files. for example https://www.sldttc.org/allpdf/21583473018.pdf ## Steps to Reproduce 1. create a signer for this https://www.sldttc.org/allpdf/21583473018.pdf with at least two recipients in staging 2. Sign using both the recipients 3. Go to the dashboard and download the file. you will get an error in the console and the file will not download below is the error message in the console output Uncaught (in promise) TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at s.from (9235-3b4546a79de2921d.js:9:30071) at 9235-3b4546a79de2921d.js:9:32103 ## Expected Behavior Download should start ## Current Behavior It is not downloading and no error is shown in the ui ## Screenshots (optional) https://github.com/documenso/documenso/assets/145282438/ba8d56e8-b363-49d4-8429-d26218b89289 ## Environment <!--- Please provide information about your environment, such as operating system, browser, version, etc. --> - OS: ubuntu 22 - Browser: Version 118.0.5993.32 (Official Build) beta (64-bit) ## Checklist - [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.
kerem 2026-02-26 18:45:34 +03:00
Author
Owner

@3xp10it3r commented on GitHub (Oct 14, 2023):

Assign this to me...
I can work

<!-- gh-comment-id:1763118136 --> @3xp10it3r commented on GitHub (Oct 14, 2023): Assign this to me... I can work
Author
Owner

@catalinpit commented on GitHub (Oct 17, 2023):

Hey @Abhinav-Developer-23, thanks for reporting this bug!

@3xp10it3r assigned it to you. Thanks.

<!-- gh-comment-id:1765977356 --> @catalinpit commented on GitHub (Oct 17, 2023): Hey @Abhinav-Developer-23, thanks for reporting this bug! @3xp10it3r assigned it to you. Thanks.
Author
Owner

@3xp10it3r commented on GitHub (Oct 18, 2023):

Working on it

<!-- gh-comment-id:1767562939 --> @3xp10it3r commented on GitHub (Oct 18, 2023): Working on it
Author
Owner

@3xp10it3r commented on GitHub (Oct 21, 2023):

will raise PR today.

<!-- gh-comment-id:1773706980 --> @3xp10it3r commented on GitHub (Oct 21, 2023): will raise PR today.
Author
Owner

@lalitkumawat1m commented on GitHub (Oct 25, 2023):

Hello Team, I want to work on this issue please assign it to me

<!-- gh-comment-id:1778948449 --> @lalitkumawat1m commented on GitHub (Oct 25, 2023): Hello Team, I want to work on this issue please assign it to me
Author
Owner

@catalinpit commented on GitHub (Oct 25, 2023):

Hey @lalitkumawat1m, it seems that @3xp10it3r works on it. I'll assign it to you if 3xp10it3r doesn't reply in the next 2-3 days.

@3xp10it3r are you still working on this issue?

<!-- gh-comment-id:1779286260 --> @catalinpit commented on GitHub (Oct 25, 2023): Hey @lalitkumawat1m, it seems that @3xp10it3r works on it. I'll assign it to you if [3xp10it3r](https://github.com/3xp10it3r) doesn't reply in the next 2-3 days. @3xp10it3r are you still working on this issue?
Author
Owner

@3xp10it3r commented on GitHub (Oct 25, 2023):

Yes just give me today. i will be completing this.
thanks

<!-- gh-comment-id:1779289491 --> @3xp10it3r commented on GitHub (Oct 25, 2023): Yes just give me today. i will be completing this. thanks
Author
Owner

@catalinpit commented on GitHub (Oct 25, 2023):

Thanks for the update @3xp10it3r! No rush, just wanted to see if there is any update. :-)

<!-- gh-comment-id:1779293268 --> @catalinpit commented on GitHub (Oct 25, 2023): Thanks for the update @3xp10it3r! No rush, just wanted to see if there is any update. :-)
Author
Owner

@poorna-prakash-sr commented on GitHub (Oct 27, 2023):

Hey I can resolve this one!

<!-- gh-comment-id:1782727992 --> @poorna-prakash-sr commented on GitHub (Oct 27, 2023): Hey I can resolve this one!
Author
Owner

@github-actions[bot] commented on GitHub (Dec 8, 2023):

This issue has not seen activity for a while. It will be closed in 30 days unless further activity is detected

<!-- gh-comment-id:1847447736 --> @github-actions[bot] commented on GitHub (Dec 8, 2023): This issue has not seen activity for a while. It will be closed in 30 days unless further activity is detected
Author
Owner

@github-actions[bot] commented on GitHub (Dec 16, 2023):

This issue has been closed because of inactivity.

<!-- gh-comment-id:1858624996 --> @github-actions[bot] commented on GitHub (Dec 16, 2023): This issue has been closed because of inactivity.
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#150
No description provided.