Forbidden 403 error
1. Min. Lesezeit
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
Lösungen #
- Regenerate API key: Follow these steps to generate a new key:
- Zu Persönliche Einstellungen
- Wähle Erweitert -Registerkarte
- Den Link API-Schlüssel section and click on "Generieren"
- Das Fenster zum Generieren des API-Schlüssels wird angezeigt
- Klicke auf "Generieren"
- Sobald der Schlüssel generiert ist, schließe das Fenster
- 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.
War der Artikel hilfreich?
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