-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem using the Mouser provider: Unknown response format #820
Comments
…format in mouser provider Should help to debug issue #820
I would assume that something with your mouser configuration is wrong, or the mouser API key is somehow invalid. You should check this. In the next Part-DB version (1.15) the error log should include more info about this. |
I am trying to evaluate Part-DB and have therefore setup a docker contain as per the instructions in docs.part-db.de Part-DB is functioning, and I was able to add a part manually. I ran into the same issue as the OP when trying to use my mouser API key. I get the Internal Server Error 500 message when I try to "Create parts from info provider", and the log messages look similar to the OP's logs. Part-DB version 1.15.1 |
The Part-DB 1.15 versions should include a more detailed error message, containing the exact errronous response. Can you post the relevant log entries here? |
My log output is below:
|
I would interpret the error message, that mouser does not recognize your API key. you should check, that it is the correct one. |
I have checked it already, well at least the beginning and end digits. A question regarding the .env file. The API key should be contained inside ' ' right? For example: |
You must sign up to the Search API using this form: https://eu.mouser.com/api-search/ I would assume that access to search API does not work with the API key, which you can generate from under the "My Account" page (that is most likely just for the account related API endpoints). |
Ahhhh yes!!! Thanks for your help, and please forgive me for having taken up your time. |
Describe the bug
Added the Mouser API key, but get
Internal Server Error (Status 500)
, tried to clear the cache as suggested with no success. Went into logs and this is the part that is related to mouser:Server Side
Desktop:
Additional context
Using docker and Nginx reverse proxy.
The text was updated successfully, but these errors were encountered: