agoraEngineRef.current = createAgoraRtcEngine();
const agoraEngine = agoraEngineRef.current;
agoraEngine.initialize({
appId: appId,
});
agoraEngine.registerEventHandler({
onError: (err, msg) => {
console.log("ERROR", err);
console.log("msg", msg);
},
});
While implementing Agora voice calling, when I call registerEventHandler in this method, I am getting error 101.
According to the error code list for Agora 3, error 101 is invalid app id. So you should probably check if your
appIdis valid or not.