Forbidden 403 error
1 min de leitura
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
Soluções #
- Regenerate API key: Follow these steps to generate a new key:
- Vá para Preferências
- Escolha Avançado .
- Encontre o link Chave de API section and click on Gerar
- Uma janela para geração da chave API aparecerá
- Clique em Gerar
- Assim que a chave for gerada, feche a janela
- 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.
Esse artigo foi útil?
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