30350n / inventree_part_import

CLI to import parts from suppliers like DigiKey, LCSC, Mouser, etc. to InvenTree
MIT License
28 stars 8 forks source link

failed to import with the error 'API endpoint not found' #58

Open feijj opened 1 week ago

feijj commented 1 week ago

inventree-part-import version 1.7

got the following error when running the command

$ pipx run inventree-part-import RT9078-33GQZ -i true
warning: supplier 'mouser' (support level SCRAPING) is used ahead of supplier 'tme' (support level OFFICIAL_API)
(you might want to reorder them in 'suppliers.yaml')
(only 4 of 5 available supplier modules are configured)
successfully setup categories!

searching for RT9078-33GQZ ...
importing DigiKey part RT9078-33GQZTR-ND ...
error: failed to import part with: 
    detail: API endpoint not found

    url: http://localhost/api/part/category/None/

the following parts failed to import:
RT9078-33GQZ

I would appreciate any assistant on this issue. Thanks in advance!

30350n commented 1 week ago

Hm, hard to tell what's the issue here. Try running with --verbose. You can also try reinstalling inventree_part_import (if you installed it a while ago).