First, navigate to the “Settings” section of your Growi dashboard, then click on the “Developer” tab. Here you can create a new API key for accessing the statistics endpoints.
Verify that you’re using the correct API key and that it hasn’t expired. You may need to generate a new one if you’re experiencing issues.
Authorization Errors
Ensure you’re formatting the Authorization header correctly with ‘Bearer’ followed by your API key. Check that there are no extra spaces or special characters.
Cannot Access Certain Endpoints
Confirm that your API key has the necessary permissions for the endpoints you’re trying to access. You may need to adjust the permissions in your developer settings.