SDK troubleshooting
SDK troubleshooting — installation, authentication, evaluation, trace upload, timeouts.
Installation
Package not found
Could not find a version that satisfies the requirement layerlenspip install layerlens --extra-index-url https://sdk.layerlens.ai/packagePython version
Client initialization
Missing API key
StratixError: The api_key client option must be set either by passing api_key to the client
or by setting the LAYERLENS_STRATIX_API_KEY environment variableexport LAYERLENS_STRATIX_API_KEY="..."Invalid / expired API key
Evaluations
Stuck wait_for_completion
Model or benchmark not found
Trace uploads
File too large
Invalid file format
Timeouts
Rate limits (429)
Error code reference
See also
Last updated
Was this helpful?