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!
Присоединяйтесь к обсуждению – добавьте комментарий ниже:
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!