Errors

Errors returned by the ClearBlade platform are formatted in a structured way to allow for developers to debug applications more easily as well as react programmatically.

Error object shape:

{
	"error": {
		"id": "ed8df83b-9d49-4287-adb4-f1a0c7948311", //id for the request made to the platform
		"code": 1421, //code specific to this error
		"level": 1, //criticality level
		"category": "Admin", //the module that returned the error
		"message": "Internal Server Error", //brief description of the error
		"detail": "Invalid Password", 
		"lowLevelError": {
			"Message": "Invalid Password"
		}
	}
}

List of errors:

Code Message Level
101 Invalid method 1
102 Internal Server Error 1
103 Route not found 1
104 Unable to marshal JSON 1
106 Poorly formatted json object 1
107 Internal Server Error 1
108 Endpoint is not yet implemented 1
109 Unreachable Code Reached. Incredible. 1
110 Body Required 1
111 Internal Server Error 3
112 Bad request 1
113 Internal Server Error 1
114 Internal Server Error 1
115 Internal Server Error 1
116 Internal Server Error 1
117 Internal Server Error 1
118 Internal Server Error 1
119 Internal Server Error 1
200 Invalid Permissions 1
201 User does not have access to system 1
202 Bad request 1
203 Internal Server Error 1
204 Bad request 1
205 Internal Server Error 1
206 Internal Server Error 1
207 Internal Server Error 1
208 Internal Server Error 1
210 Internal Server Error 1
211 Internal Server Error 1
213 Internal Server Error 1
214 Unable to validate arguments for user roles 1
215 Unable to fetch all users 1
216 Bad request 1
217 Bad request 1
218 Bad request 1
219 Internal Server Error 1
220 Internal Server Error 1
221 Internal Server Error 1
223 Internal Server Error 1
300 Internal Server Error 1
301 Bad request 1
302 1
303 Internal Server Error 1
304 Internal Server Error 1
305 Bad request 1
306 Internal Server Error 1
307 Internal Server Error 1
308 Internal Server Error 1
309 Bad request 1
310 Bad request 1
311 Bad request 1
312 Bad request 1
313 Bad request 1
314 Internal Server Error 1
315 Internal Server Error 1
316 Bad request 1
317 Internal Server Error 1
400 Internal Server Error 1
401 Internal Server Error 1
402 Internal Server Error 1
403 Internal Server Error 1
404 Bad request 1
405 Internal Server Error 1
406 Internal Server Error 1
407 Name too short 1
408 Bad request 1
409 Internal Server Error 1
410 Internal Server Error 1
411 Internal Server Error 1
412 Bad request 1
413 Internal Server Error 1
414 Internal Server Error 1
415 Internal Server Error 1
416 Internal Server Error 1
417 Bad request 1
418 Internal Server Error 1
419 No service with that name 1
420 Internal Server Error 1
421 Bad request 1
500 Internal Server Error 1
501 Internal Server Error 1
502 Bad request 1
503 Internal Server Error 1
504 Bad request 1
505 Internal Server Error 1
506 Bad request 1
507 Internal Server Error 1
600 Unable to fetch event definitions 2
601 Unable to fetch event handlers 2
602 Unable to create event handler 2
603 Unable to fetch event handler 2
604 Unable to update event handler 2
605 Unable to remove event handler 2
606 Unable to fetch all timers 2
607 Unable to create timer 2
608 Unable to fetch timer 2
609 Unable to update timer 2
610 Unable to delete timer 2
611 No name specified for trigger 1
900 Bad request 1
901 2
902 Internal Server Error 2
903 Internal Server Error 2
904 Internal Server Error 2
905 Internal Server Error 2
906 Internal Server Error 1
907 Bad request 1
908 Internal Server Error 1
909 Internal Server Error 1
910 Bad request 1
911 Internal Server Error 1
912 Bad request 1
913 Internal Server Error 1
914 Internal Server Error 1
915 Internal Server Error 1
916 Internal Server Error 1
917 Internal Server Error 1
918 Internal Server Error 1
919 Bad request 1
920 Internal Server Error 1
921 Internal Server Error 1
922 Internal Server Error 1
923 Bad request 1
924 Bad request 1
925 Internal Server Error 1
926 Internal Server Error 1
1000 Internal Server Error 1
1001 Internal Server Error 1
1002 Bad request 1
1003 Internal Server Error 1
1004 Internal Server Error 1
1005 Internal Server Error 1
1100 Bad request 1
1101 Internal Server Error 1
1102 Internal Server Error 1
1103 Internal Server Error 1
1104 Internal Server Error 1
1105 Internal Server Error 1
1106 Unable to validate arguments for device 1
1107 Internal Server Error 1
1108 Internal Server Error 1
1109 Internal Server Error 1
1110 Internal Server Error 1
1111 Unable to validate arguments for device roles 1
1200 Bad request 1
1201 Internal Server Error 1
1202 Bad request 1
1203 Internal Server Error 1
1300 Internal Server Error 1
1401 Internal Server Error 1
1402 Bad request 1
1403 Bad request 1
1404 Internal Server Error 1
1405 Internal Server Error 1
1406 Internal Server Error 1
1407 Bad request 1
1408 Internal Server Error 1
1409 Internal Server Error 1
1410 Bad request 1
1411 Internal Server Error 1
1412 Bad request 1
1413 Internal Server Error 1
1414 Internal Server Error 1
1415 Internal Server Error 1
1416 Internal Server Error 1
1417 Bad request 1
1418 Internal Server Error 1
1419 Internal Server Error 1
1420 Bad request 1
1421 Internal Server Error 1
1422 Internal Server Error 1
1423 Bad request 1
1424 Internal Server Error 1
1425 Internal Server Error 1
1426 Bad request 1
1427 Internal Server Error 1
1428 Bad request 1
1429 Internal Server Error 1
1430 Bad request 1
1431 Internal Server Error 1
1432 Bad request 1
1433 Internal Server Error 1
1500 Internal Server Error 1
1501 Bad request 1
1502 Internal Server Error 1
1503 Internal Server Error 1
1504 Internal Server Error 1
1505 Internal Server Error 1
1600 Bad request 1
1601 Internal Server Error 1
1602 Internal Server Error 1
1603 Internal Server Error 1
1604 Internal Server Error 1
1605 Internal Server Error 1
1606 Bad request 1
1607 Internal Server Error 1
1608 Internal Server Error 1
1609 Internal Server Error 1
1610 Internal Server Error 1
1611 Bad request 1