Below is a list of all response codes from the server. Most of the errors
do not need detailed explanation so they are terse. Many commands return the
same code. A code may have a different meaning depending on the command.
| Code |
Name |
Details |
| 0 |
Ok |
|
| 10 |
Unknown |
There was an unexpected error. The most likely cause is an unhandled exception generated by the command. If you received this code, plesae let us know. |
| 11 |
Unknown DB error |
There was an unexpected database error. The most likely cause is invalid data. If you receive this error, please notify us. |
| 12 |
Db failed to save |
|
| 13 |
Service unavilable |
The API is offline, possibly due to a database upgrade. |
| 14 |
Unknown method |
|
| 20 |
File write failed |
|
| 21 |
File not found |
|
| 30 |
Unauthenticated |
|
| 31 |
Insufficient privilege |
|
| 32 |
Unauthorized access |
|
| 33 |
Access denied |
|
| 50 |
Db record not found |
|
| 51 |
Db duplicate record |
|
| 52 |
Db record dependency |
|
| 60 |
Cart charge failed |
|
| 61 |
Insufficient funds |
|
| 62 |
Gateway error |
|
| 100 |
No session |
|
| 102 |
Invalid app key |
|
| 103 |
Invalid signature |
|
| 104 |
Invalid session key |
|
| 105 |
Invalid user |
|
| 106 |
Invalid parameter |
|
| 107 |
Invalid data type |
|
| 108 |
Invalid data format |
|
| 109 |
Invalid data encoding |
|
| 110 |
Invalid activity type |
|
| 111 |
Invalid date range |
|
| 112 |
Invalid data fields |
|
| 113 |
Invalid workout ID |
|
| 114 |
Invalid date |
|
| 115 |
Invalid activity type ID |
|
| 116 |
Invalid workout type ID |
|
| 117 |
Invalid interval set name |
|
| 118 |
Invalid distance |
|
| 119 |
Invalid distance unit |
|
| 120 |
Invalid weight unit |
|
| 121 |
Invalid heart rate |
|
| 122 |
Invalid temperature |
|
| 123 |
Invalid effort |
|
| 124 |
Invalid quality |
|
| 125 |
Invalid interval type |
|
| 126 |
Invalid interval distance |
|
| 127 |
Invalid interval distance unit |
|
| 128 |
Invalid interval heart rate |
|
| 129 |
Invalid equipment ID |
|
| 130 |
Invalid brand ID |
|
| 131 |
Invalid model ID |
|
| 132 |
Invalid course ID |
|
| 133 |
Invalid course |
|
| 134 |
Invalid user name |
|
| 135 |
Duplicate user name |
|
| 136 |
Invalid email |
|
| 137 |
Duplicate email |
|
| 138 |
Invalid password |
|
| 139 |
Invalid temperature unit |
|
| 140 |
Invalid day of week |
|
| 141 |
Invalid user name format |
|
| 142 |
Missing data |
|
| 143 |
Null data |
|
| 144 |
No user |
|
| 145 |
Missing external ID |
|
| 146 |
Duplicate external ID |
|
| 147 |
Missing subject |
|
| 148 |
Missing parameter |
|
| 149 |
Invalid ID |
|
| 150 |
Missing name |
|
| 151 |
Duplicate name |
|
| 152 |
Missing date |
|
| 153 |
Exceeded max name length |
|
| 154 |
Exceeded max notes length |
|
| 155 |
Invalid file format |
|
| 156 |
Unsupported file type |
|
| 157 |
Record dependence |
The object cannot be deleted because another object is referencing it. |
| 158 |
Invalid map file type |
|
| 159 |
Invalid map data |
|
| 160 |
Invalid json |
|
| 161 |
Invalid image type |
|
| 162 |
Image scaling error |
|
| 163 |
Stale data |
|
| 164 |
Unspecified location |
|
| 165 |
No weather station |
|
| 166 |
Duplicate training plan entry ID |
|
| 167 |
Operation timed out |
|
| 168 |
Exceeded max limit |
|
| 169 |
Index out of range |
|
| 170 |
Value out of range |
|
| 171 |
Invalid transaction state |
|
| 172 |
Invalid time zone |
|
| 173 |
Invalid data |
|
| 174 |
Invalid url |
|
| 175 |
Invalid name |
|
| 176 |
Invalid website |
|
| 177 |
Duplicate domain |
|
| 178 |
Invalid operation |
|
| 179 |
Weather station deactivated |
|
| 180 |
Geocode error |
|
| 181 |
Invalid coupon code |
|
| 182 |
Unavailable event category |
|
| 183 |
Insufficient quantity |
|
| 184 |
Invalid transaction |
|
| 185 |
Invalid state |
|
| -1 |
None |
|