Got Stuck?
Forum for Lovense Developers
Support
Document Feedback
Error Code
When the API call in the mini app fails, it will return the corresponding error code. You can refer to the following error code information to find a solution.
Common Error Code
Error Code | Return | Platform |
---|---|---|
10000 | Unknown error | iOS, Android |
10001 | Invalid parameter | iOS, Android |
10002 | Request failed | iOS, Android |
Function Error Code
The 2&3-digit code represents the functionality. For example, 01 represents toy commands, 02 represents audio, 11 represents accelerometer, and 12 represents user information.
Error Code | Return | Platform |
---|---|---|
20100 | Failed to parse data | iOS, Android |
20101 | Command handling error | iOS |
20200 | Audio session setup error | iOS |
20201 | Audio recording permission not granted | iOS, Android |
20202 | Audio recorder holder does not exist | iOS |
20203 | Audio recorder setup error | iOS, Android |
21100 | Device motion not available | iOS |
21101 | Device motion error | iOS |
21102 | Device motion does not exist | iOS |
21103 | Device motion holder does not exist | iOS |
21104 | Device does not support haptics | iOS |
21105 | Failed to initialize haptic device | iOS |
21106 | Device sensor error | Android |
21107 | Accelerometer sensor error | Android |
21200 | User login authorization cancelled | iOS, Android |
21201 | User not logged into Remote | iOS, Android |
21202 | Failed to retrieve user info | iOS, Android |
21203 | User account list empty | iOS, Android |
21204 | Failed to retrieve user auth code | iOS, Android |
21205 | Privacy policy not provided. Request not allowed | iOS, Android |
21206 | User denied the privacy policy. Request not allowed | iOS, Android |
21207 | Lovense Remote does not have permission to save images to the user's album | iOS, Android |
21208 | The user denied your app permission to save images to their album | iOS, Android |
21209 | The app has not yet requested permission to save images to the user's album | iOS, Android |
They represent Standard API functionality.
Error Code | Return | Platform |
---|---|---|
30000 | Invalid command | iOS, Android |
30001 | Toy not found | Android |
30002 | Toy not connected | iOS, Android |
30003 | Toy does not support this command | Android |
30004 | HTTP server not started or disabled | iOS, Android |
30005 | No connected toy supports feedback mode | iOS, Android |