Support Topics Documentation Slack YouTube Blog

Custom event handler not found

SDK: 4.0b3
Error: FAULT = ‘Server.Processing’ [None of the handlers were able to invoke the target service. The service may not be found:com.backendless.services.servercode.EventHandler. Make sure exceptions are logged - check server log for details] <None of the handlers were able to invoke the target service. The service may not be found:com.backendless.services.servercode.EventHandler. Make sure exceptions are logged - check server log for details>

Details: I have a custom event called “home” created in JS. It can’t seem to find it.

iOS code

backendless?.events.dispatch("home", args: [:], response: { (results) in
            print("Results: \(String(describing: results))")
        }, error: { (fault) in
            print("Server reported an error (async): \(String(describing: fault))")
        })

Hi Brian,

What’s your app ID?