Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
A 403 Forbidden error typically indicates that the server understood the request but refuses to authorize it. Here are a few steps you can take to troubleshoot and resolve this issue:
Verify Token Validity: Ensure that the token you generated is still valid and has not expired. Tokens have a limited lifetime, and you may need to generate a new one if the current one has expired.
Check Permissions: Make sure that the API client you created has the necessary permissions to access the device metrics. Sometimes, specific permissions are required to access certain endpoints.
Endpoint and Method: Double-check that you are using the correct endpoint and HTTP method (GET, POST, etc.) for the device metrics. Refer to the Torizon Cloud API documentation to confirm the correct usage.
Client Secret: Ensure that the client secret used to generate the token is correct and matches the one provided when the API client was created.
Sandbox vs. Production: If you are using a sandbox environment, ensure that the API client and token are created and used within the same environment. Mixing sandbox and production credentials can lead to authorization issues.
API Changes: Verify if there have been any recent changes or updates to the Torizon Cloud API that might affect the endpoints or authentication mechanisms. Check the Torizon Cloud API documentation or any release notes for updates.
If you have verified all the above and the issue persists, it might be helpful to reach out to Toradex support for further assistance, as there could be an underlying issue with the API service itself.