Forums/Developer Program/Developer FAQs

If the API rejects a design file does it return a message telling me why?

David
posted this on January 18, 2012 17:02

Short answer: Yes. 

Long answer...

2D Files (SVG, EPS)    
     
Warnings    
missing_cut_lines   Design contains no cutting lines
     
Errors    
blue_fills   Contains elements with blue fills.
green_fills   Contains elements with green fills.
red_fills   Contains elements with red fills. 
pattern_fill   Contains elements with pattern fills.
fonts   Contains text that is still fonts, not paths.
colors   Contains unsupported colors.
incorrect_black   A black that is not 0, 0, 0 is used.
incorrect_blue   A blue that is not 0, 0, 255 is used.
incorrect_green   A green that is not 0, 255, 0 is used.
incorrect_magenta   A magenta that is not 255, 0, 255 is used.
incorrect_red   A red that is not 255, 0, 0 is used.
line_weights   The weights of the vector lines are incorrect.
magenta_fills   Contains elements with magenta fills.
non_raster_color_detected   Contains elements that are filled and are not grey scale.
size   Design file size exceeds the memory limit.
unreadable   Unsupported file type.
rastering_not_supported, image_elements   File contains raster images.
     
3D Files (STL, DAE, VRML)    
     
Warnings    
part_too_large_for_material   Design is too large for some materials.
part_very_small   Design is too small for some materials.
     
Errors    
generic   Design file formatted incorrectly.
malformed_vrml   VRML is formatted incorrectly.
part_ridiculously_large   Design is too large for all materials.
part_ridiculously_small   Design is too small for all materials.
size   Design file size exceeds the memory limit.
unfixable_mesh_errors   Design file contains unfixable problems with the mesh.
unreadable   Design file is unreadable.
unsupported_units   Design file submitted using unsupported units.
unsupported_version   Design file is saved in an unsupported version.

For information about how to present this content to your users check the following links: