DeveloperDeveloper
  • Standard Solutions
  • Cam Solutions
  • Native SDKs
  • App Gallery
  • Game Engine Plugins
Forum
Projects Library
Dev Discord
  • Standard Solutions
  • Cam Solutions
  • Native SDKs
  • App Gallery
  • Game Engine Plugins
Forum
Projects Library
Dev Discord
  • App Gallery (with Lovense Remote)
    • Get Started
    • Development
    • Deploy
  • Basic API
    • Life Cycle
  • Platform API
    • App Info
      • AppBaseInfo
    • Toy
      • Toy Info
      • Command
      • Feedback Mode
    • Device
      • Accelerometer
      • Screen Orientation
      • Shake
      • Vibrate
    • File System
      • Save Image
  • Open API
    • User Authorization
      • Client API
      • Server API
  • Error Code
  • Error Code
    • Common Error Code
    • Function Error Code
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 CodeReturnPlatform
10000Unknown erroriOS, Android
10001Invalid parameteriOS, Android
10002Request failediOS, 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 CodeReturnPlatform
20100Failed to parse dataiOS, Android
20101Command handling erroriOS
20200Audio session setup erroriOS
20201Audio recording permission not grantediOS, Android
20202Audio recorder holder does not existiOS
20203Audio recorder setup erroriOS, Android
21100Device motion not availableiOS
21101Device motion erroriOS
21102Device motion does not existiOS
21103Device motion holder does not existiOS
21104Device does not support hapticsiOS
21105Failed to initialize haptic deviceiOS
21106Device sensor errorAndroid
21107Accelerometer sensor errorAndroid
21200User login authorization cancellediOS, Android
21201User not logged into RemoteiOS, Android
21202Failed to retrieve user infoiOS, Android
21203User account list emptyiOS, Android
21204Failed to retrieve user auth codeiOS, Android
21205Privacy policy not provided. Request not allowediOS, Android
21206User denied the privacy policy. Request not allowediOS, Android
21207Lovense Remote does not have permission to save images to the user's albumiOS, Android
21208The user denied your app permission to save images to their albumiOS, Android
21209The app has not yet requested permission to save images to the user's albumiOS, Android

They represent Standard API functionality.

Error CodeReturnPlatform
30000Invalid commandiOS, Android
30001Toy not foundAndroid
30002Toy not connectediOS, Android
30003Toy does not support this commandAndroid
30004HTTP server not started or disablediOS, Android
30005No connected toy supports feedback modeiOS, Android
Last Updated:
Prev
Open API
Explore our Forum or Support to get more inspiration or solve your problems.
Discord Channel
It is an online real-time channel where you can communicate directly with our official administrators or many excellent developers.
Forum
It is a place for Lovense developers to communicate, where you can find solutions to problems or get inspired for your projects.
Support
Find documents and tutorials that may be helpful to you.