Error Code

When the code is 0, it's normal; when it's a negative number, it's an error.

Error CodeReason
-1Invalid request parameters
-2Username or email already exists
-3Username does not exist or incorrect password
-4User not logged in
-5Project does not exist or you are not the creator
-6Project already exists
-7Project does not exist
-8User does not have permission
-9User does not exist
-10Project must have an administrator
-11Creator must be an administrator
-12Account does not have any projects
-13API does not exist
-14Duplicate users exist
-500unknown mistake