Handling Device Errors

Learn the device errors for which you should add handling to your app.

Seam provides both generic and more specific device errors. We recommend that you add error handling logic to your app for each of the following generic errors:

Error Type
Description

device_disconnected

Device is disconnected.

device_removed

Device has been removed from the connected account. Seam can no longer sync with this device.

hub_disconnected

Hub to which the device is connected is offline. Seam is unable to sync updates to this device.

Your app should also include a fallback case if it encounters an unknown generic error code.

When Seam is able to provide more specific information beyond one of the generic errors, your app can display additional context or suggest provider-specific resolutions.

If the connected account associated with a device has an error, it is attached to the device alongside any other device errors. Treat these errors as specific errors.

Last updated

Was this helpful?