Description
The error InvalidOrDuplicateSku(20002004, InvalidData) occurs during export from the Integration Platform to the target system.
This means that the SKU (article number) being sent is either invalid (wrong format/characters) or already used by another product or variant in the target system. As a result, the export cannot be completed.
Cause
SKU already in use: The same SKU already exists on a product or variant in the target system (sometimes also in drafts, archive, or trash).
Invalid characters or format: The SKU contains special characters, spaces, or disallowed characters (e.g., Å/Ä/Ö), or it is too long.
Case/whitespace collision: SKUs are often compared case-insensitively and with trimmed spaces, which can make seemingly different SKUs duplicates.
Incorrect mapping in the Integration Platform: The rules for generating SKUs may result in the same SKU for multiple variants.
Reserved SKU: The SKU may remain on a deleted or inactive record in the target system, which blocks reuse.
Action
Check the SKU in the target system
Search for the SKU in the product register and also check Drafts, Archive, and Trash.
If the SKU is already in use: change or remove it from the existing product, or assign the new item a unique SKU in the source system.
Check the SKU format
Use only A–Z, 0–9, dash (-), and underscore (_) only.
Remove spaces, special characters, and shorten the SKU if it is too long.
Normalize case and whitespace
Remove leading/trailing spaces.
Use consistent uppercase/lowercase so that the system does not interpret the SKUs as duplicates.
Review mapping in the Integration Platform
Check the SKU generation settings in the Integration Platform.
Make sure each product variant receives a unique SKU, for example by including the variant ID or attribute values.
Clean hidden records in the target system
Empty the trash or change the SKU on deleted/inactive records that are still blocking reuse.
Retry the export
After adjusting the SKU or removing duplicates, re-export the product from the Integration Platform and verify that it is created or updated correctly in the target system.
Comments
0 comments
Please sign in to leave a comment.