Solución de problemas

Forbidden 403 error

1 min de lectura

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

Soluciones #

  • Regenerate API key: Follow these steps to generate a new key:
    • Ve a Preferencias
    • Selecciona Avanzado pestaña
    • Busca los enlaces de Clave API section and click on Generar
    • Aparecerá una ventana para generar la clave API
    • Haz clic en Generar 
    • Una vez generada la clave, cierra la ventana
  • 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.

¿Te resultó útil este artículo?

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