Getting started
Letβs get started
Track activity
Add students
Add resources
Guides
Widget
Webhooks
Knowledge base
Limitations
Errors
Resources
Activities
F.A.Q.
Legacy versions
Airlock 0.1
Errors
API errors
There are two types of errors you may encounter when using our API: network errors and GraphQL errors. If a GraphQL error occurs, our server will not execute a mutation at all because it is invalid, but it can still return partial data in a query. If a network error occurs, it will result in a 400
, 401
, 413
, 429
, 500
, 504
response status code and no data. If a college token is invalid, expired, or lacks the required permissions, a 401
status code will be returned.
Code | Message | Data |
IMPORT_FAILED | We are unable to access the provided URL. | importUrl |
USER_NOT_FOUND | Make sure you have added a student or teacher with this email address to your college. | |
STUDENT_NOT_FOUND | Make sure you have added a student with this email address to your college. | |
TEACHER_NOT_FOUND | Make sure you have added a teacher with this email address to your college. | |
DEGREE_NOT_FOUND | Make sure such degree exists in your college. | |
COURSE_NOT_FOUND | Make sure such course exists in your college. | |
RESOURCE_NOT_FOUND | Make sure such resource exists in your college. | |
WEIGHT_NOT_FOUND | A weight is not available for this resource. | weights |
COLLEGE_NOT_VERIFIED | You cannot perform this action because your college is not verified. | |
DEGREE_NOT_VERIFIED | You cannot perform this action because this degree is not verified. | |
STUDENT_NOT_COMPLIANT | This student has not yet completed a program. | email
rejectionReasons |
RESOURCE_ALREADY_EXISTS | A resource with this ID already exists in your college. | |
ACTIVITY_NOT_FOUND | The specified activity ID does not exist. | |
INVALID_ACTIVITY | The specified activity ID cannot be modified. | |
INVALID_GRADE | A grade value must be between 0 and 100. | |
UNKNOWN_ATTRIBUTION | You must provide either an activity ID or a resource ID and a student ID. | |
INVALID_STUDENT | This student has invalid status or cannot be created. | |
INVALID_ASSET | Content type or import URL for the provided asset is missing. | |
STUDENT_ALREADY_EXISTS | A student with this email or ID already exists in your college. |
SDK Errors
If there are issues with user authorization or resource consumption tracking, our SDK will throw a WoolfError
. It will provide a meaningful message with an error code and explanation, like
[@woolfuniversity/sdk] ${error}