Why you might be getting an error
1 min de lecture
If you’re trying to pull data for your account but are facing an error, it’s possible that:
Wrong API endpoint #
Make sure you’re using the correct endpoint based on whether you’re on a subdomain or data region. For instance, if you are on a subdomain or data region, the request will fail if you’re using the wrong endpoint.
Missing API key #
Ensure your API key is included in the request header. If your workspace has moved to a subdomain, you may need a new API key for that subdomain workspace. To check your key:
- Connectez-vous à votre compte Clockify
- Naviguez vers Paramètres du profil
- Choisissez Préférences
- Allez dans Avancé tab to get the correct API key
Authentication issues (code 1000) #
If you’re getting an error like 1000 – Full authentication is required, it means the API call is missing the required authentication header, which is your API key. Ensure you’re passing it in the header as follows:
Headers = [
#"X-Api-Key" = "Your_API_Key_Here",
#"Content-Type" = "application/json"
]
Cet article vous a-t-il été utile ?
Thank you! If you’d like a member of our support team to respond to you, please drop us a note at support@clockify.me