[GH-ISSUE #1439] Error with “API Reference” S3 Upload #408

Open
opened 2026-02-26 18:46:55 +03:00 by kerem · 3 comments
Owner

Originally created by @IActualizate on GitHub (Nov 4, 2024).
Original GitHub issue: https://github.com/documenso/documenso/issues/1439

Im using the api to upload a document via S3 bucket and when proccess finishes it shows me "200" status code, i can see and download document on my s3 bucket but i cannot see it in my documenso, the object was created but the PDF i upload to doesnt appear...

Originally created by @IActualizate on GitHub (Nov 4, 2024). Original GitHub issue: https://github.com/documenso/documenso/issues/1439 Im using the api to upload a document via S3 bucket and when proccess finishes it shows me "200" status code, i can see and download document on my s3 bucket but i cannot see it in my documenso, the object was created but the PDF i upload to doesnt appear...
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2024):

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:2454313988 --> @github-actions[bot] commented on GitHub (Nov 4, 2024): 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)
Author
Owner

@dguyen commented on GitHub (Nov 12, 2024):

Can you please outline the requests you did?

We have a small guide here on uploading documents
https://docs.documenso.com/developers/public-api/reference#upload-a-document

<!-- gh-comment-id:2469659396 --> @dguyen commented on GitHub (Nov 12, 2024): Can you please outline the requests you did? We have a small guide here on uploading documents https://docs.documenso.com/developers/public-api/reference#upload-a-document
Author
Owner

@IActualizate commented on GitHub (Nov 12, 2024):

Hi,
I followed the guide and tried some different options on my configuration for checking if there's something wrong, but all it's okay and i cannot see an example of this "s3 upload working" that's why i've posted my problem here...

On 1st request:
Method POST to URL: http://172.17.0.6:3008/api/v1/documents
Header Auth: Credentials
Body JSON: "{
"title": "Acta de Visita.pdf",
"recipients": [
{
"name": "Javier Mira",
"email": "javiermirtun@gmail.com",
"role": "SIGNER",
"signingOrder": 0
}
],
"meta": {
"subject": "Acta de Visita",
"message": "Acta de Visita",
"timezone": "Etc/UTC",
"redirectUrl": "https://iactualizate.es",
"signingOrder": "PARALLEL"
}
}"

On 2nd request:
Method PUT to URL: {uploadURLobtained}
Body: Binary File (pdf)

I receive status 200 response and the file is ready on my s3 bucket, when i check on my documenso installation the object "Acta de visita.pdf" was created but doesn't load the document.

I would like to check if its something wrong with my installation/environment or if it's not working on the web-app cause has taken me a lot of time.

<!-- gh-comment-id:2469950510 --> @IActualizate commented on GitHub (Nov 12, 2024): Hi, I followed the guide and tried some different options on my configuration for checking if there's something wrong, but all it's okay and i cannot see an example of this "s3 upload working" that's why i've posted my problem here... On 1st request: Method POST to URL: http://172.17.0.6:3008/api/v1/documents Header Auth: Credentials Body JSON: "{ "title": "Acta de Visita.pdf", "recipients": [ { "name": "Javier Mira", "email": "javiermirtun@gmail.com", "role": "SIGNER", "signingOrder": 0 } ], "meta": { "subject": "Acta de Visita", "message": "Acta de Visita", "timezone": "Etc/UTC", "redirectUrl": "https://iactualizate.es", "signingOrder": "PARALLEL" } }" On 2nd request: Method PUT to URL: {uploadURLobtained} Body: Binary File (pdf) I receive status 200 response and the file is ready on my s3 bucket, when i check on my documenso installation the object "Acta de visita.pdf" was created but doesn't load the document. I would like to check if its something wrong with my installation/environment or if it's not working on the web-app cause has taken me a lot of time.
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#408
No description provided.