0
我試圖爲啓動即時通訊Sinch API JS,即時通訊。用戶創建的這個應用程序
$('button#register').on('click', function(event){
event.preventDefault();
$('button#register').attr('disabled', true);
clearError();
var signUpObj = {};
signUpObj.username = $('input#username').val();
signUpObj.password = $('input#password').val();
sinchClient.newUser(signUpObj, function(ticket) {
sinchClient.start(ticket, function() {
global_username = signUpObj.username;
localStorage[sessionName] = JSON.stringify(sinchClient.getSession());
}).fail(handleError);
}).fail(handleError);
})
創建用戶禁用,但我收到錯誤消息
errorCode: 40303
message: User creation is disabled for this application
所以,我應該做些什麼?