Error Codes
Authorization
These are standard error codes when fetching and writing data.
Resource Not Found
{
status:'error',
message:'Student with reg number EN34837937 not found',
status:401
}Authorization
Authorisation errors return the 401 error code
{
status:'error',
message:'Authorization failed. Invalid key',
}
OR
{
status:'error',
message:'Authorization failed. Rquest IP address not recognized',
}System Error
Last updated