Hi Harminder,
Good afternoon and thank you for your question. I tested also the endpoint on Graph Explorer and it is working fine. It seems to be that there is an issue from the application itself.
Can you check if the token that you're using on the application is fine and if you're using Delegated (Personal microsoft account)?