Forbidden 403 error
1 min de lecture
A 403 Forbidden error typically occurs when:
- The API key does not have the necessary permissions
- The user role associated with the API key cannot execute the requested operation
Solutions #
- Regenerate API key: Follow these steps to generate a new key:
- Naviguez vers Préférences
- Choisissez Avancé .
- Trouvez le lien Clé API section and click on Générer
- Une fenêtre permettant de générer la clé API s'affiche
- Cliquez sur l'onglet Générer
- Une fois la clé générée, fermez la fenêtre
- Check permissions: Ensure that your user role allows access to the requested resources
- Verify subscription: Make sure your subscription plan allows access to the desired API features
If you’re a Project manager or Team manager and see a 403 error when trying to generate a report, it’s likely because amounts are hidden by default and you don’t have access to Workspace settings.
To work around this, add the following parameter in your request to generate the report without amounts:
"amountShown": "HIDE_AMOUNT"
This allows the report to run successfully without showing the amounts.
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