Questions tagged [gotenberg]
6 questions
3
votes
1 answer
Context deadline exceeded- goteberg api (/forms/libreoffice/convert)
I am trying to convert ms-office files to pdf using gotenberg api. For some files, i am getting unoconv PDF context deadline exceeded with 503 status. I have increased the read, write and process timeout to 60 secs. How can i resolve this issue?…

I Iswarya
- 31
- 3
2
votes
1 answer
how to pass form with files with names via httpx
I am trying to send data to gotenberg container via httpx lib.
r = httpx.post(
"http://doc-to-pdf:3000/forms/chromium/convert/html",
files={
"index.html": file_bytes,
},
params={
"marginTop": 0.4,
…

Ryabchenko Alexander
- 10,057
- 7
- 56
- 88
2
votes
1 answer
Converting .docx to .pdf using Gotenberg and Google Cloud
As many here I stumbled across converting .docx to .pdf. The only reasonable solution out there seems to be Gotenberg which is a Docker-powered stateless API and Gotenberg js client which allows to interact with Gotenberg much easier through JS…

jean d'arme
- 4,033
- 6
- 35
- 70
0
votes
0 answers
Avoid Main content overlap to header and footer on new pages on Gotenberg PDF PHP library
I have written a code to print html in pdf using Gotenberg version 7, pdf library in PHP.
Config to set Gotenberg :
$chromium = Gotenberg::chromium(config('gotenberg.api.host'))
->printBackground()
->margins(0, 0, 0, 0)
…

Avnee.Angel
- 182
- 1
- 3
- 16
0
votes
0 answers
Can we convert a byte array of office file to pdf byte array in ASP.NET Core 6 MVC?
I have an ASP.NET Core 6 MVC project. I want to convert my Office files to PDF. But the problem is I take my files as byte array and I must convert them to byte array pdf.
I tried to use gotenberg api but not worked. And also I asked this , but not…

KOMODO
- 72
- 1
- 8
0
votes
1 answer
File API - works with cURL but fails with AJAX and Postman
I am running gotenberg as my document to PDF conversion API and it is working with cURL.
The cURL command looks like this
curl --request POST --url http://example.com --header 'Content-Type: multipart/form-data' --form files=@file.docx >…

Nithin
- 1,387
- 4
- 19
- 48