This used to work fine, but as of about a week ago I'm getting this error when trying to obtain info from DigiKey... It looks like the redirect callback URL is now maybe missing an expected http parameter?
{"message":"Uncaught PHP Exception InvalidArgumentException: \"Required option not passed: \"access_token\"\" at AccessToken.php line 96","context":{"exception":{"class":"InvalidArgumentException","message":"Required option not passed: \"access_token\"","code":0,"file":"/var/www/html/vendor/league/oauth2-client/src/Token/AccessToken.php:96","trace":["/var/www/html/vendor/league/oauth2-client/src/Provider/AbstractProvider.php:844","/var/www/html/vendor/league/oauth2-client/src/Provider/AbstractProvider.php:642","/var/www/html/vendor/knpuniversity/oauth2-client-bundle/src/Client/OAuth2Client.php:125","/var/www/html/src/Services/OAuth/OAuthTokenManager.php:110","/var/www/html/src/Services/OAuth/OAuthTokenManager.php:141","/var/www/html/src/Services/InfoProviderSystem/Providers/DigikeyProvider.php:110","/var/www/html/src/Services/InfoProviderSystem/PartInfoRetriever.php:82","/var/www/html/vendor/symfony/cache/LockRegistry.php:111","/var/www/html/vendor/symfony/cache/Traits/ContractsTrait.php:104","/var/www/html/
vendor/symfony/cache-contracts/CacheTrait.php:64","/var/www/html/vendor/symfony/cache/Traits/ContractsTrait.php:111","/var/www/html/vendor/symfony/cache-contracts/CacheTrait.php:30","/var/www/html/src/Services/InfoProviderSystem/PartInfoRetriever.php:83","/var/www/html/src/Services/InfoProviderSystem/PartInfoRetriever.php:64","/var/www/html/src/Controller/InfoProviderController.php:83","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76","/var/www/html/vendor/symfony/http-kernel/Kernel.php:197","/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35","/var/www/html/vendor/autoload_runtime.php:29","/var/www/html/public/index.php:5"]}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2025-04-16T01:05:57.059317+00:00","extra":{"token":{"authenticated":true,"roles":["ROLE_USER"],"user_identifier":"bson"},"url":"/en/tools/info_providers/update/513","ip":"172.17.0.1","http_method":"POST","server":"partdb.r
ockgarden.net","referrer":"https://partdb.rockgarden.net/en/tools/info_providers/update/513"}}
{"message":"User Deprecated: Since nelmio/security-bundle 3.4.0: The \"Nelmio\\SecurityBundle\\EventListener\\XssProtectionListener\" class is deprecated, use Content Security Policy without allowing \"unsafe-inline\" scripts instead.","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Since nelmio/security-bundle 3.4.0: The \"Nelmio\\SecurityBundle\\EventListener\\XssProtectionListener\" class is deprecated, use Content Security Policy without allowing \"unsafe-inline\" scripts instead.","code":0,"file":"/var/www/html/vendor/nelmio/security-bundle/src/EventListener/XssProtectionListener.php:35","trace":["/var/www/html/vendor/nelmio/security-bundle/src/EventListener/XssProtectionListener.php:80","/var/www/html/var/cache/docker/ContainerGuFYBbY/App_KernelDockerContainer.php:2051","/var/www/html/var/cache/docker/ContainerGuFYBbY/App_KernelDockerContainer.php:500","/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:257","/var/www/html/vendor/symfony/event-dispatcher/Even
tDispatcher.php:220","/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:56","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:214","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:202","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76","/var/www/html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:117","/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:260","/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:220","/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:56","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:239","/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:91","/var/www/html/vendor/symfony/http-kernel/Kernel.php:197","/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35","/var/www/html/vendor/autoload_runtime.php:29","/var/www/html/public/index.php:5"]}},"level":200,"level_name":"INFO","channel":"deprecation","datetime":"2025-04-16T01:05:57.078986+00:00","extra
":{"token":{"authenticated":true,"roles":["ROLE_USER"],"user_identifier":"bson"},"url":"/en/tools/info_providers/update/513","ip":"172.17.0.1","http_method":"POST","server":"partdb.rockgarden.net","referrer":"https://partdb.rockgarden.net/en/tools/info_providers/update/513"}}
{"message":"Stored the security token in the session.","context":{"key":"_security_main"},"level":100,"level_name":"DEBUG","channel":"security","datetime":"2025-04-16T01:05:57.080243+00:00","extra":{"token":{"authenticated":true,"roles":["ROLE_USER"],"user_identifier":"bson"},"url":"/en/tools/info_providers/update/513","ip":"172.17.0.1","http_method":"POST","server":"partdb.rockgarden.net","referrer":"https://partdb.rockgarden.net/en/tools/info_providers/update/513"}}
172.17.0.1 - - [16/Apr/2025:01:05:51 +0000] "POST /en/tools/info_providers/update/513 HTTP/1.1" 500 4277 "https://partdb.rockgarden.net/en/tools/info_providers/update/513" "Mozilla/5.0 (X11; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0"
- - 16/Apr/2025:01:05:51 +0000 "POST /index.php" 500
Apr 16
'25 01:04
bson
By the way, this is version: 1.13.2
Apr 16
'25 01:04
bson
You need to retrieve an fresh oauth token from digikey by clicking the button in the provider list. Unfortunatley this cannot happen automatically, as this sometimes require user authentication with digikey.