FAQ
API errors
How do I fix an unauthorized, incorrect, or no API key error?
import os print(os.environ.get("IONOS_API_TOKEN"))
How do I fix a 404 Not Found error?
404 Not Found error?f"https://inference.de-txl.ionos.com/collections/{COLLECTION_ID}/documents"import requests
HEADERS = {
'Accept': 'application/json',
'Content-Type': 'application/json',
'Authorization': f'Bearer {IONOS_API_TOKEN}',
}
print(requests.get(f"https://inference.de-txl.ionos.com/collections", headers=HEADERS).json())How do I fix a 500 Internal Server error?
500 Internal Server error?Cost & Usage
How can I monitor the costs incurred through usage of the AI Model Hub?
Last updated
Was this helpful?