Search works correctly and resolves RK3566 to C2943786. The import fails afterward because EasyEDA returns footprint-only data with an empty schematic, omitting editorVersion, hasIdFlag, BBox, and colors. Our Zod schema is too strict and incorrectly required these fields, causing validation to fail before conversion.
0hmx
Makes sense. Just make sure errors like this are not shown to the user. Instead, display a shorter message such as: “An internal error occurred” or “Invalid footprint or import data error”
T
techmannih
Yes, these missing fields now have safe defaults, so this Zod error will no longer reach the user. For import errors should be add a short message for users separately.
Want to add to the conversation?
Reply in Discord so your notes stay connected to the source.