HTML to ZPL

FREEMIUM
От DAB Labs Inc | Обновлено 6 giorni fa | Video, Images
Популярность

9.6 / 10

Задержка

2,188ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

Bad request when printing A4 PDF

Hi,

I am trying to convert a base64 string based on a PDF which has A4 sizing. When trying to run this through the API, I get the following error:

400 Bad Request
server: RapidAPI-1.2.8
x_rapidapi_version: 1.2.8
x_rapidapi_region: AWS - us-east-1

<!DOCTYPE html>
<html lang=“en”>
<head>
<meta charset=“utf-8”>
<title>Error</title>
</head>
<body>
<pre>Bad Request</pre>
</body>
</html>

When trying to use the API on RapidAPI with the same code, I get the following error: Parameter pdfBase64 must be base64 encoded

However, when I test my code online through different Base64 code checks, all checks give a positive result (for example, via https://onlinebase64tools.com/validate-base64)

Why doesn’t this work via this API? Is this limited to A5 formats only? Thanks!

Rapid account: Dablabs
dablabs Commented 6 mesi fa

Hi @integrationsopposuits,

There is no limit specifically to page size. A4 PDFs should convert just fine. Would you be able to email the PDF to support@htmltozpl.com so I can run a test here?

Also, could you please include the code you used to convert to base64? There are sometimes subtle problems related to that.

Thanks!

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии