Login with no password | Currently returns "A password is required." | Nice try, but we need a password to let you in. |
Invalid login | Currently return "Invalid Credentials" | Something's amiss. Please enter your credentials again. |
User attempts to perform an action for which they don't have permission | E.g., a regular user (non-admin) tries to create a new user. The UP/license module should not allow this, but in the event that it did, they message returned is currently, "You do not have the privileges required for this action." | You might have been Big Man on Campus (we weren't, though it sounds fun), but you don't have the privileges required for this action. |
API is called with no key | The UP/license module should not allow this, but if it did, the current message is "Missing API Key" | Missing API Key. It's us, not you. Promise. Please contact help@cyclelabs.io for assistance. |
API is called with invalid key | Should rarely happen - a Scenario like the cycle client obtains and API key and caches it. At some point the API key was changed, so a subsequent call from the license module would get this error. The current message is "Invalid API Key" | Missing API Key. It's us, not you. Promise. Please contact help@cyclelabs.io for assistance. |
Primary Key Constraint Violation | Eg., attempting to create the same user twice, "Duplicate entry 'josh.own@cyclelabs.io' for key 'UNIQUE_USERNAME'" | We're seeing double: 'josh.owen@cyclelabs.io' already exists. |
Foreign Key Constraint Violation | E.g., attempting to assign a user to a non-existent license holder, "Cannot add or update a child row: a foreign key constraint fails (licensedemo .license_user , CONSTRAINT FK_USER_LICENSE_HOLDER FOREIGN KEY (license_holder_id ) REFERENCES license_holder (id ))" | N/A |
Other DB Error | Anything that does not fall into one of the above DB Errors | It’s us, not you. Promise. Please contact help@cyclelabs.io for assistance. |
Bad Request | User should not see this - this would be something like the JSON posted to create a user had an invalid format. | Well, this is embarrassing. Something’s gone wrong and it’s our fault. Please try again. |
Failed to decrypt the request | An request for a license was signed w/ an invalid key | Invalid API Key. Please try re-entering your credentials. If that doesn't work, email help@cyclelabs.io. |
Duplicate license request | The user requested a license on a machine where one already exists - "A license is already issued to ${u.username} for ${r.hardwareId} " | A Cycle license is already issued for {r.hardwareId} . |
Could not obtain an overflow license type | This would be a config error - user should not see this | License is not available. |
No matching product version found | This would be a config error - could not find a matching license module version w/ a valid private key | Cycle version could not be found. |
User Authentication Required | The license module could not find a valid API key | API Key not found. Please re-enter your credentials. If that doesn't work, email help@cyclelabs.io. |
NoAvailableLicenseException | No license is available | No license is available. |
NoAvailableUpgradeException | No upgrade is available - they are using the latest | Sweet! You've already got the latest version of Cycle. |
ExpiredLicenseException | The license is expired | N/A |
Unhandle exception | Something unexpected happened | Well, this is embarrassing. Something’s gone wrong and it’s our fault. Please try again. |
Password Resets - Could not send email | "Could not send email" when requesting the reset | Email could not be sent. Please try again. |
Password Resets - User has no email defined | "$username has no email address" | $Username has no email address. |
Couldn't find the file to download on the server | "The file you requested is not available" | The file you requested is not available. |
Any exception not covered above | | Please email help@cyclelabs.io. |