Zeplin uses SketchTool to export the data and the images out of Sketch. This tool does have certain known issues that you should watch out for. đľď¸ââď¸ We're already in touch with the Sketch team and will keep this list updated as they are fixed!
Make sure to try exporting again if you run into an issue, and if it continues, check if it matches any of the known issues below.
đââď¸ If you're having network issues while uploading, like timeouts or bad request errors, check out our Fixing connectivity issues article instead.
Large artboards or layers
If you have artboards or exportable layers that are too large, you might encounter an error: âExporting image failed with an unusual errorâ
This usually happens when you're exporting a large artboard that has multiple screens in it. You can either export those screens separately or try dividing the large artboard into multiple artboards. See the sample large artboard below:
Invisible lines
Certain invisible lines in your vector elements might cause an error: âExporting image failed with an unusual errorâ
This occasionally happens on vectors you bring in from other apps, like Illustrator. Deleting these layers should fix the issue.
Layer names
If you have some layers which names are âobjectâ instead of âstringâ, you might encounter an error: âExporting artboards failed with an unusual errorâ
You can rename all of these layers as string names and then try to export the file again.
Colors
Zeplin exports document colors or colors set up in layer styles from Sketch. If you donât set your colors as document colors or layer style colors in your Sketch file, you might encounter an error while trying to export colors: âExporting colors failed, no colors found in Sketch documentâ
You can set up color variables and layer styles from the right panel in Sketch, as shown below, and then try to export them again.
Others
If none of these solves the issue, there's another workaround you can try:
Create a new Sketch file
Copy your artboard from the old file and paste it into the new file
Try exporting it again from the new file.
Hope these help! If you're still having an issue, you can contact us at support@zeplin.io.