In this article we are talking about Mirakl APIs, currently we support the following Mirakl APIs in Channable:
- Leroy Merlin
- Carrefour France
- Carrefour Spain
- Leen Bakker
- Blokker Connect!
- Unilae + PcComponentes
What does the error look like in Channable?
With our Mirakl APIs you can easily send your products to different platforms with their stock and pricing information updated every day. However, the first time you send your products to a Mirakl platform (or when you have added new products that have not been sent to Mirakl before), you need to add these new products to the Mirakl EAN database, before the API can send and update these products every day.
To find out if there are products that have to be added to the Mirakl database, first go to APIs on the left-hand side in Channable. Next, go to the Result step of your API, and click on the errors tab
You know that the EAN codes are unknown by seeing the "mirakl_unknown_error_code" error. This means that there are some products of which the EAN number is not yet known to the Mirakl database. Mirakl will only accept products from their marketplace if the EAN number is added to the Mirakl database. This means that you have to add these EAN numbers along with the corresponding product information.
How do I solve the error?
Fill out the Categories and Attributes steps in your API in Channable
Navigate to the Categories step in your API and add categories to your products. You can use the generate categories function to help you setup the categories, or you can manually add categories.
Navigate to the Attributes step in your API. Here you will see all the categories that you have set up in the Categories step. The attributes differ for each category, so make sure to go through them all using our attribute builder support article.
If you have filled out the categories and attributes in your API, navigate to the APIs overview and run the API by clicking on the blue "Run now" button.
Get the Mirakl error report
Navigate to My Inventory > Import from file > Track Product Imports > Actions in your Mirakl account. Here you will find a few files, including the error report. Download the error report to find out if there are any additional errors.
Optimize your data in Channable
Now that you have an overview of the missing or incorrect information, navigate to your API in Channable to fix the information. Use the rules to optimize your data and use our attribute builder support article as a guide to optimize the Attributes step in your API.
After you have optimized the data in Channable, navigate to the APIs overview and run the API by clicking on the blue "Run now" button.
Repeat until all errors are solved
It might be that one round of error solving does not solve all the "mirakl_unknown_error_code" errors. If you still see the "mirakl_unknown_error_code" error in the Preview step of your API repeat the steps until the error has disappeared from the Preview.