-
Notifications
You must be signed in to change notification settings - Fork 37
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
401 error on batch_product_details #36
Comments
Got the same issu here, did a fix was found in the end ? |
After talking with a techsupport at Digikey, it seems like the BatchProductDetails API is now depredicated. |
Thanks for figuring this out, in the end I just made many more calls to the API than I expected to and implemented a cache to avoid exceeding the rate limit. I assume the best resolution to this will be removing the batchProductDetails functionality from the library. |
I will do the same, I hope @peeter123 will update this because it is realy misleading in DK API documentation and having a place somewhere where it's clarified may help others ;). |
What about the myLists API? Does it do the same? |
I'm attempting to use the batch product details API like this (is there documentation on how you are supposed to do this? I'm basing it off the keyword_search example):
This results in the following error:
I can successfully use keyword_search and product_details so it seems like my client ID must be correct. Is there some other API permissions I need to enable on my digikey account?
Edit: Perhaps this is related? https://forum.digikey.com/t/x-digikey-client-id-invalid-for-requested-resource/26675
The text was updated successfully, but these errors were encountered: