This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Error 502 on converting a simple page

pixecs wrote on 2012-06-26:
Hello, i'm a php developer working for a client of yours.
My problem is as follow: when i try to convert a very simple webpage, from a php script, i alway get a 502 error "Sorry, we can't process your request", but what it bothers me is that for a very complex page in the same project i always get the pdf back. Both pages are using almost the same css + js and the html is correctly formated, i even renounced at tables and replaced them with divs but with no end.
The page where i always get an error is
and the other one where i have no problem at all is
This error is a show stopper so please provide me a hint on where is the problem.

Thanks, Ciprian
support wrote on 2012-06-27:

this looks like a bug on our end. We will investigate this further and come back to you.

Is there any notable difference between the two pages?
pixecs wrote on 2012-06-27:
Hello sir,
There are not too much differences between pages, both are using de-de lang and utf8 charsets, both are using the same main css file and same js files. The problem appear to be triggered by the items count from <div id="inventoryItems"> because on another page ( ) with less items in this div the conversion is made succesfully.
support wrote on 2012-06-28:
It looks like there is a glitch on our end which causes the conversion to fail if the box-shadow css property is being applied on a large box. The workaround for your page is to put the following code just before the closing </head> tag:
  .well { box-shadow: none; -webkit-box-shadow: none; }
pixecs wrote on 2012-06-28:
Thank you, now the conversion is working as expected.