Not able to login as admin

I was working on my dashboard and it was inactive for a while. Suddenly when I tried saving it, it showed errors and didn’t save. I refreshed the pages and Grafana was signed out of my admin account.
Now whenever I try to sign in, It redirects to this page. I’m not able to login and edit any dashboard.

Any help would be appreciated highly!!

If anyone comes across this post, I was able to resolve the issue through this thread: