Hard crash when unregistering device messaging

Trying to unregister a device from messaging.

Backendendless.sharedInstance().messaging.unregisterDevice()

is the call. Getting a hard crash:

*** Terminating app due to uncaught exception of class 'Fault'
libc++abi.dylib: terminating with uncaught exception of type Fault

Thanks.

What’s the fault message?

Please put a try/catch block around the call and see what the error is (or use the overloaded method where you can pass the Fault object as an argument and then check what’s in the fault).

Regards,
Mark