---
title: "Pallet label error: The PDF file is empty, i.e. its size is zero bytes."
description: ""
url: https://help.qargo.com/us/articles/182843-pallet-label-error-the-pdf-file-is-empty-i-e-its-size-is-zero-bytes
locale: us
updated: 2024-10-24
---

# Pallet label error: The PDF file is empty, i.e. its size is zero bytes.

Sometimes the Palletline API returns an empty response, so the generated label file ends up empty.

![](https://help.qargo.com/media/106fc5c7261e-image.png)

\
If the shipment has already been dispatched to Palletline, the solution is to delete the label first and then retrigger the "export to Palletline" task (which pushes the generation of a new pallet label).\
​\
The steps below show how to delete the file first:\
​

![](https://help.qargo.com/media/21b3294800da-image.png)

\
Then navigate to the load and retrigger the task for dispatching to Palletline:\
​

::video{src="/media/video/1c0f24f45249-2024-07-10-10_31_45.mp4"}

\
After this, navigate back to the order to view the newly generated document.\
\
If the document is not generated and the message _"The PDF file is empty, i.e. its size is zero bytes."_ remains on the preview page, contact the Qargo support team for further investigation or generate the label manually in Contrado.


## Related articles

- [See everything with a Contrado label that is not going to palletline](https://help.qargo.com/us/articles/142100-see-everything-with-a-contrado-label-that-is-not-going-to-palletline.md)
- [Invalid PDF structure for PDF labels](https://help.qargo.com/us/articles/141107-invalid-pdf-structure-for-pdf-labels.md)
- [Tasks – Complete tasks in bulk](https://help.qargo.com/us/articles/133829-tasks-complete-tasks-in-bulk.md)
- [Label generation](https://help.qargo.com/us/articles/143909-label-generation.md)
- [PN - PalletLine order import/export](https://help.qargo.com/us/articles/143830-pn-palletline-order-import-export.md)
