Are you experiencing issues using the Studytube API? This article will guide you through the most common error messages and tips to resolve them on your own.
1. No response or timeout
Possible causes:
The API endpoint is incorrect or does not exist.
There is a temporary network interruption or server delay.
The API call takes too long and exceeds your system's timeout limit.
What you can do:
Check if you are using the correct endpoint.
Retry the request after a few minutes.
Reduce the number of results per request (e.g., with
limit=50) to shorten processing time.
2. Error code 401 – Unauthorized
Meaning: The API request does not contain valid authentication.
Check:
Whether you are sending a valid Bearer token in the
Authorizationheader.Whether the token is still active (tokens can expire).
Whether the API key has permissions for the requested resource.
Solution:
Request a new token via Studytube or the linked authentication service if necessary.
3. Error code 403 – Forbidden
Meaning: You do not have permission to access the requested resource.
Possible causes:
The API key is valid but lacks specific access rights.
You are trying to access data outside your organization (e.g., from another tenant).
What you can do:
Check with your technical administrator which rights have been assigned to your API key.
Contact service@studytube.nl if you believe you should have access.
4. Error code 404 – Not Found
Meaning: The requested endpoint or object does not exist.
Causes:
The URL is misspelled or contains an incorrect ID.
The object (e.g., user, course) has been deleted or was never created.
Solution:
Check the API documentation to verify the endpoint.
Verify the ID you are using.
5. Error code 422 – Unprocessable Entity
Meaning: The server understands the request but cannot process it due to invalid or missing data.
Common errors:
Required fields are empty or incorrectly formatted.
A non-existent reference is used (e.g., team ID or course ID).
Solution:
Check that all required fields are filled in correctly.
Review the response body for a detailed error message.
6. Error code 500 – Internal Server Error
Meaning: Something went wrong on the server side.
What you can do:
Try the request again after a few minutes.
Contact service@studytube.nl if the error persists.
If possible, include a request ID or log entry with your report.
Need help?
Can't figure it out or see an error message not listed here? Then contact us at service@studytube.nl
and include:
The endpoint used
The full error message (including status code and response body)
Any headers or payloads (preferably anonymized)