500 Error appears when I try to login

firstly I manage to login to tawk.to api using this code snippet

window.Tawk_API.login({
hash : ‘’, // required
userId : ‘1234’, // required
name : ‘Name’
email : ‘email@email.com’,
phone : ‘09123456789’
}, function(error) {
// do something if error
});

but later it starts return 500 Server error when try to do the same