# Err\_callback\_handler\_failure

**URL:** <https://community.auth0.com/t/err-callback-handler-failure/114231>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [August 22, 2023, 4:03pm UTC](https://community.auth0.com/t/err-callback-handler-failure/114231 "2023-08-22T16:03:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [August 22, 2023, 7:49pm UTC](https://community.auth0.com/t/err-callback-handler-failure/114231/3 "2023-08-22T19:49:13Z")

</div>

Hi @hitesh.khatri,

It looks like the `state` parameter was not passed in the login request. This is also justified by the response URL: [http://localhost:3000/api/auth/callback?code=tCpAwy1x5umkry1TQ\_IQMq9-wiDuwIToM8Lq0e23FdHAI&state=eyJyZXR1cm5UbyI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCJ9](http://localhost:3000/api/auth/callback?code=tCpAwy1x5umkry1TQ_IQMq9-wiDuwIToM8Lq0e23FdHAI&state=eyJyZXR1cm5UbyI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCJ9)

You should expect something like the following when passing the `state` parameter in the `/authorize` request:  
[http://localhost:3000/api/auth/callback?code=tCpAwy1x5umkry1TQ\_IQMq9-wiDuwIToM8Lq0e23FdHAI&state=eyJyZXR1cm5UbyI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCJ9&state=yourState](http://localhost:3000/api/auth/callback?code=tCpAwy1x5umkry1TQ_IQMq9-wiDuwIToM8Lq0e23FdHAI&state=eyJyZXR1cm5UbyI6Imh0dHA6Ly9sb2NhbGhvc3Q6MzAwMCJ9&state=yourState)

Thanks,  
Rueben

---

_[View the full topic](https://community.auth0.com/t/err-callback-handler-failure/114231)._
