Troubleshoot Data Mappers
Use the Audit Log to find failed mapper runs, and fix common errors such as files not moving to archive or database deadlocks.
Where to find it: In the Zoey Admin, go to Integrations > Zoey Data Mappers and click Audit Log in the jump links at the top of the page. New to Data Mappers? Start with Set up a Data Mapper.
How to Troubleshoot Data Mappers
Data Mapper Audit Log
In the Data Mapper integration, there is a section called Audit Log where errors will be recorded for all your Data Mappers. The Audit Log will also record all successful runs of the Data Mapper.

The Audit Log opens on Finished with Errors, with the filters Archived = No, Finished = Yes and Errors = Yes. Click another tab, such as Finished Successfully or All, or click Clear All and set up your own filters to find a run by Mapper Name and more.

Data Mapper Logs
Every time your Data Mapper runs, a log containing details about the file(s) will be added to the Audit Log.

These logs will show you all the details about the Data Mapper that ran. It will include any files that were exported in the log for easy access. You can also click View All Details to expand and view the details of each record.
Data Mapper Errors
Here are some common issues and how to resolve them.
File not being moved to archive folder after processing
If you are finding that the imported file is not being moved after processing, please ensure the file name does not contain any spaces or other invalid characters. Remove those spaces or characters and run your mapper again.
-and_can be used in the file name.
SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction
SQLSTATE[40001]\: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction
- This error indicates that there are simultaneous operations happening with the API and the Data Mapper. If a Data Mapper is ran at the same time as an API operation which affects the same object, you may receive this error.
Failed to upload file … because a file with that name already exists
The other system hadn't picked up the last file before the next export ran. With Dropbox Upload Mode set to Add, Zoey won't replace a file that is still waiting. Check that the other system imports from the same folder, and schedule its import to run more often than the export. Use Overwrite only for full feeds that are rebuilt every run.
Cannot create shipment for order …, its state is Complete
A Shipment import can't ship an order that is already Complete. Test with an order that hasn't been shipped.
Order … does not exist in Zoey
The order number in the import file doesn't match a Zoey order. Check that the other system sends the Zoey order number, not the customer's PO number, and check the Order ID Column setting in a Shipment import.
Finished with no data
There was nothing new to export. After Run, the result says Nothing new to send; this is not an error. Most exports only send records created after the Last Run Time that they haven't sent yet. To send older records, set an earlier Last Run Time or use Reset Last Run Time (which sends every matching record again). Order Items exports send each order only once. See Test and run a Data Mapper.
A changed order wasn't sent again
An order is sent again only when Re-export Changed Orders is Yes and the change is ticked under Re-send when. Check that:
- The change is one you ticked. For example, a new status isn't sent if only Item quantities change is ticked.
- For a Credit Memo, Items are refunded or credited must be ticked.
- The order changed after you turned the setting on or last changed the ticked boxes. Earlier changes aren't sent.
- With Apply Advanced Filters Only Once set to Yes, the order still matches the filters.
- Re-export Changed Orders isn't greyed out. With Use Advanced Filters set to Yes and Apply Advanced Filters Only Once set to No, it shows No and "Not used with this filter setting.", because every run already sends every matching order.
To send it now, use Bulk Actions > Data Mapper Templates in the Orders list. See Send changed orders again with a Data Mapper.
Not delivered: … will be sent again on the next run
The Connection couldn't deliver the export (the upload, email or HTTPS request failed), so Zoey didn't mark those records as exported. Fix the error shown above that line, then click Run or wait for the next run: it sends the same records. See When an export isn't delivered.
Unable to send emails. Please ensure recipients and sender are valid.
The Email Connection has no Sender or no valid Email Recipients. Edit the Connection, choose a Sender, check the recipients, click Save, then click Test Connection. See Add a Data Mapper connection. The records that weren't emailed go out on the next run.
A Connection won't save
Zoey refuses to save a Connection that can't work and names the field, for example "Sender: choose the store email address the Data Mapper emails are sent from." or "Password is required.". Fill in that field and save again. A Connection Name can use only letters, numbers, spaces, dashes and underscores ("Invalid model name"), and a Password can't contain a line break ("The Password can't contain a line break."). An HTTPS Connection shows one missing field at a time: see Add a Data Mapper connection for every field it needs. A Dropbox Connection needs the store connected to Dropbox first.
Errors at the same time for Data Mappers you didn't change
Check the status page of the Connection's service, such as Dropbox status. Files start processing again once the service is back.
Ask Zoey AITry asking: "Why did my Data Mapper say Not delivered?" or "Why didn't my Data Mapper import move the file?"
Related articles
Updated about 2 hours ago
