Troubleshooting
Troubleshooting
Common Issues
API Key Problems
# Error: SecretAIAPIKeyMissingError
export SECRET_AI_API_KEY='your_actual_api_key'Connection Issues
# Test different node URLs
from secret_ai_sdk.secret import Secret
# Try alternative LCD endpoints
test_urls = [
'https://lcd.secret.tactus.starshell.net/',
'https://scrt-lcd.stakingcabin.com/',
'https://secret-4.api.trivium.network:1317/'
]
for url in test_urls:
try:
client = Secret(node_url=url)
models = client.get_models()
print(f"β
Working URL: {url}")
break
except Exception as e:
print(f"β Failed URL {url}: {e}")Timeout Configuration
Voice Service Issues
Last updated
Was this helpful?