Token is good and username is correct, Why is login unsuccessful?

It says ‘invalid scope requested: chat’ when to set the scope to chat:edit and chat:read