Facing issue with custom login

I am trying to do custom Login using this api in my Android App.
https://{yourDomain}/oauth/token but it gives me 500 error, Can anyone help me?
[size=107 text={“error”:“server_error”,“error_description”:"Authorization serve…]

Hi @pj210493

Welcome back to the Auth0 Community!

Please Try to do this and let me know if this worked:
Go to Settings → API Authorization Settings → Default Directory
Insert Username-Password-Authentication and save, it should take around 30 secs

Thanks
Dawid

Yes, It worked. Thanks.

One more doubt after signup without email verification if i call this api it doesn’t give any error like email is not verified.
Do we have separate api for that?