# SCO Cola
Speedcubing Online's server software, including the authentication system and API.

## API Error Codes

### General
0. No error occurred and the requested information is available.
1. An internal server error occurred and the request was denied.  If you recieve this error code, chances are, it's a bug.  Please report the error as soon as possible.

### Authentication
5. Account doesn't exist.
6. Email already in use.
7. Password isn't strong enough.
8. Username already taken.
9. Unable to reset password, the token is outdated.
10. Incorrect password.
11. Already logged in.
12. Not logged in.

### API
13. The API key or token you provided does not match our records.
14. Invalid request, the required information was not provided.  For example, if you're trying to log in and do not provide a `password` value, this error will be thrown.
15. You do not have access to the requested information.
16. Requested information does not exist, for example, if you try to look up a user that has the `uuid` `123`, this error will most likely be thrown.