# Username-Password-Authentication gives Access Denied

**URL:** <https://community.auth0.com/t/username-password-authentication-gives-access-denied/15382>\
**Category:** Get Help\
**Created:** [September 12, 2018, 7:58pm UTC](https://community.auth0.com/t/username-password-authentication-gives-access-denied/15382 "2018-09-12T19:58:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShoPeng](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ShoPeng](https://community.auth0.com/u/ShoPeng)\
**Post date:** [September 12, 2018, 7:58pm UTC](https://community.auth0.com/t/username-password-authentication-gives-access-denied/15382/1 "2018-09-12T19:58:38Z")

</div>

When I go from my Auth0 dashboard to: “Conections → Database → Username-Password-Authentication → Try connection”, then it always says:

`{ "error": "unauthorized", "error_description": "Access denied." }`

I don’t know why it’s giving me this error. The Logs aren’t telling much more either.

What could possibly cause this error?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 8, 2018, 7:06pm UTC](https://community.auth0.com/t/username-password-authentication-gives-access-denied/15382/3 "2018-11-08T19:06:07Z")

</div>

Hey @ShoPeng!

Have you been able to solve the issue? It might have been a temporary bug. Let me know if you still need help and I’ll help you solve it!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 10, 2018, 1:29pm UTC](https://community.auth0.com/t/username-password-authentication-gives-access-denied/15382/4 "2018-12-10T13:29:09Z")

</div>


