Skip to main content
Mirakl

Import Messages in Mirakl Connector: what the button does, step by step

The Import Messages button asks the marketplace for the instance's messages, processes them and tells you the result with a success or warning notice. It is always visible on the Mirakl Instances screen, and the scheduled action runs a similar import every 30 minutes if you switch it on.

FlexigoTech · Editor in charge: Víctor Gómez · Updated 5 November 2026

Key facts

Module
Mirakl
Versions
Odoo 17, 18, 19 and 20
Checked
in the connector's source code, version 20.0 · against the sources linked at the end
Reading time
5 min

What the button is and when you see it

The Import Messages button is on the Mirakl Instances screen, which opens from the menu Mirakl › Configuration › Marketplaces. It is always visible, in Odoo 17, 18, 19 and 20: no view condition hides it. It works on the instance you have open.

Code-generated diagram of the menu Mirakl › Configuration › Marketplaces and the Import Messages button, with English labels
Code-generated diagram (not an Odoo screenshot): the menu and the button, with the English labels of the module's original text. The button is in all four published versions.

The button's label changes with the language of your Odoo: in English it is Import Messages; in Spanish, Importar mensajes; in German, Nachrichten importieren; in French, Importer les messages; in Italian, Importa messaggi; in Portuguese, Importar Mensagens.

Code-generated diagram based on the module's translation files, with the button label in Spanish, German, French, Italian and Portuguese
Code-generated diagram (not an Odoo screenshot): the Import Messages button label according to the language of Odoo.

If you have not yet checked that the connection to the marketplace works, the article on the Test Connection button explains what that other button does.

Same stock on every Mirakl marketplace, sent from Odoo
Video: Same stock on every Mirakl marketplace, sent from Odoo

Step by step

  1. Let Odoo do it on its own. The scheduled action Mirakl - Sync Messages runs the message import every 30 minutes, but it is switched off when the module is installed. It goes through the active instances that have message sync enabled, and only an administrator can run it. That is the normal route; the button is for launching the import by hand.
  2. Open the instance. Go to Mirakl › Configuration › Marketplaces and open the instance's form.
  3. Check the day window. In the Invoices and Messages tab, Messages group, you will find Initial Message Sync Days. Its help reads: «Historical window (days) for manual message sync.» The default value is 30. The button passes that value to the import.
  4. Press Import Messages. The module queries the marketplace (details in the next section) and leaves a notice when it finishes.
  5. Read the notice. If messages were processed you get a success notification: Import Messages completed: … messages processed. (the count replaces the dots). If none were processed, a warning: Import Messages completed: 0 records. The operator may not support this endpoint.
  6. If you get the warning, look at the read-only field. In the same tab and group, Messages Endpoint Unavailable shows whether the module has flagged that the marketplace does not expose /messages.

What the button does inside, in order

  • It ignores the Messages Endpoint Unavailable field. With the button, the module makes the request even if that field is ticked. The scheduled action, by contrast, skips the endpoint until it is retried manually, as the field's help says.
  • It reads page by page. It sends a read request to the /messages endpoint (or the one set on the instance), page after page, up to a page limit that the instance itself sets.
  • It processes each message. Every message received goes through Mirakl's message model, and the module adds one for each record that results. That count is the one you see in the notice.
  • It clears the flag if the read succeeds. If a request succeeds and Messages Endpoint Unavailable was ticked, the module empties it. That is why pressing the button is the way to retry.
  • It records and notifies. It posts the same notice text as a message on the instance itself and shows a notification titled Mirakl. The notification is not a sticky one.

Errors and notices it can give

The button does not show read errors as an error message: it writes them to the Mirakl API log and ends with the «0 records» notice if nothing was processed. So that warning does not prove by itself that something is failing: it also appears when the marketplace had no messages to return.

SituationWhat happensWhat to do
Messages are processedSuccess notice with the countNothing: check the imported messages
The marketplace answers 410 or 404The module flags Messages Endpoint Unavailable, logs a warning and stops; the on-screen notice counts what was processed up to that pointIf it is 0, the operator may not expose /messages; check the field and press again only if something has changed
Any other request errorAn error is logged and reading stops; what was already processed is countedCheck the API log and press again
A response shape the connector does not recogniseIt is not taken for an empty page: an error is logged and reading stopsKeep the payload recorded in the log and raise it with FlexigoTech
FlexigoTech Cloud does not let the call through (no subscription or a service pause)The import is cut short, nothing is flagged and the completion notice is never reachedCheck your Connector plan subscription

Button or scheduled action

Import Messages buttonMirakl - Sync Messages action
When it runsWhen you press itEvery 30 minutes, if you switch it on (it is off by default)
With the endpoint flagged as unavailableQueries anywaySkips it until it is retried manually

What you need and how FlexigoTech helps

Mirakl Connector is a one-off-payment module per version, published on Odoo Apps for 17, 18, 19 and 20 (listing, module page), and it needs a FlexigoTech Cloud subscription on the Connector plan: €49/month or €490/year excluding VAT, up to 3 marketplace accounts. Without a subscription, or with the service suspended, what the subscription provides stops; your data stays in your Odoo.

If you are implementing Odoo and want the connector set up with your marketplaces, FlexigoTech implements Odoo 17, 18, 19 and 20 and builds custom connectors and integrations.

Keep reading

Mirakl Connector: ‘Set the Mirakl API key before testing the connection’When Mirakl Connector for Odoo asks you to set the Mirakl API key before testing the connection: the exact condition behind it and how to fix it.Mirakl Connector: «This binding has no Mirakl instance configured.»When Mirakl Connector says a binding has no Mirakl instance configured: the exact condition behind the message and what to do when it appears.What the Mirakl Connector Test Connection button does, step by stepWhat the Test Connection button in Mirakl Connector does in Odoo: when it appears, what it checks, what it saves on the record and which errors it can give.
Checked in the connector's source code (version 20.0) and the linked sources

Sources