> For the complete documentation index, see [llms.txt](https://docs.sync4.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sync4.de/faq/problembehandlung/bestellung-konnte-nicht-abgerufen-werden.-lua-ergebnis-ist-leer-nil.md).

# Bestellung konnte nicht abgerufen werden. LUA-Ergebnis ist leer (nil)

Wenn sich die Bestellungen nicht abrufen lassen und Sie bekommen folgende Fehlermeldung (Bestellung konnte nicht abgerufen werden. LUA-Ergebnis ist leer (nil)) dann ist dies ein Indiz darauf, dass ein benötigter Wert vom Shop (z.B. Shopware) nicht geliefert wird.

![](/files/7nbNO52IOHfPV9xh53uN)

Folgende Punkte haben sich als Anhaltspunkt herausgestellt:

* Versandkosten in der Bestellung nicht definiert (zu erkennen an einer 0 im Shopware Backend)
* Zahlungsarten in der Bestellung nicht definiert (zu erkennen an einer 0 im Shopware Backend)
* Adressdaten wie z.B. der Vorname oder andere Werte der Adresse
* Keine Positionen in der Bestellung vorhanden
* Das sync4 Plugin ist nicht im Shop installiert bzw. aktiviert

Überprüfen Sie diese als auch weitere Punkte mit anderen Bestellungen, welche sich abrufen lassen. Damit kann man den fehlenden Wert recht schnell finden und korrigieren.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sync4.de/faq/problembehandlung/bestellung-konnte-nicht-abgerufen-werden.-lua-ergebnis-ist-leer-nil.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
