I am testing in sandbox and production. Whenever I do an NSLookup is fine. Getting the same error every time below:
================== TESTING DIGIKEY API (SANDBOX ENVIRONMENT) ===================
2025-05-14 10:31:01,629 - httpx - INFO - HTTP Request: POST https://sandbox-api.digikey.com/v1/oauth2/token “HTTP/1.1 200 OK”
[SUCCESS] DigiKey Auth: Successfully authenticated (token expires in ~4 mins)
2025-05-14 10:31:02,180 - httpx - INFO - HTTP Request: POST https://sandbox-api.digikey.com/Search/v4/Products/Keyword “HTTP/1.1 404 Not Found”
[FAILED] DigiKey Search: Search failed: 404 - {“fault”:{“faultstring”:“Unable to identify proxy for host: secure and url: /Search/v4/Products/Keyword”,“detail”:{“errorcode”:“messaging.adaptors.http.flow.ApplicationNotFound”}}}
2025-05-14 10:31:02,181 - main - ERROR - DigiKey proxy error detected. The client is already configured with trust_env=False.