> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://doc.common-services.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# AJAX script execution failed / server-side error

During an export or catalog action ([Export offers](https://doc.common-services.com/en/article/export-offers-7dacds/), [Import orders](https://doc.common-services.com/en/article/import-orders-1roj2fa/)), the module may show:

> A server-side error has occured. Please contact your server administrator, hostmaster or webmaster

On order import or acceptance, the interface may also show: `AJAX Error`.

---

### Step 1 — Same URL as the shop

Common cause: back office opened with a different URL than the store domain (`www` / no `www`, `http` / `https`).

Example:

* you open `http://myshop.com/admin`
* PrestaShop is configured for `http://www.myshop.com`

→ log in again using the URL configured in **Shop parameters → Traffic & SEO** (shop domains).

---

### Step 2 — Host / permissions

Security rules (e.g. OVH) or insufficient folder rights.

* [Write permissions issue](https://doc.common-services.com/en/article/write-permissions-issue-1j105bh/)
* OVH guide (example): [Internal Server Error](http://guides.ovh.com/InternalServerError)

---

### Step 3 — Shop reachable

Maintenance mode, storefront down, or bad redirects → the module can fail. The shop must be reachable. See [Information tab — common errors](https://doc.common-services.com/en/article/information-tab-common-errors-16w1grk/) (maintenance mode).

---

### Step 4 — If it persists

1. PrestaShop debug mode / module **Debug Mode** ([Get your Mirakl API keys](https://doc.common-services.com/en/article/get-your-mirakl-api-keys-1g54d55/) — Authentication tab).
2. Reproduce and take a screenshot.
3. [Contact](https://doc.common-services.com/en/article/contact-yuxwdc/).

## Next

[Information tab — common errors](https://doc.common-services.com/en/article/information-tab-common-errors-16w1grk/), [White screen](https://doc.common-services.com/en/article/white-screen-yud5rz/), [Order import errors](https://doc.common-services.com/en/article/order-import-errors-10vh69e/)