# Error on handleRedirectCallback

**URL:** <https://community.auth0.com/t/error-on-handleredirectcallback/29613>\
**Category:** Get Help\
**Created:** [August 19, 2019, 11:38am UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613 "2019-08-19T11:38:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![israelvitordiniz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/israelvitordiniz/32/15378_2.png) [@israelvitordiniz](https://community.auth0.com/u/israelvitordiniz)\
**Post date:** [August 19, 2019, 11:38am UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/1 "2019-08-19T11:38:43Z")

</div>

After i login with loginWithRedirect function from auth0-spa, i get an error on handleRedirectCallback function;

core.js:3926 ERROR Error: There are no query params available at `window.location.search`.  
at e. (auth0-spa-js.production.js:1)  
at auth0-spa-js.production.js:1  
at Object.next (auth0-spa-js.production.js:1)  
at auth0-spa-js.production.js:1  
at new ZoneAwarePromise (zone.js:931)  
at n (auth0-spa-js.production.js:1)  
at e.handleRedirectCallback (auth0-spa-js.production.js:1)  
at MergeMapSubscriber.project (auth.service.ts:41)  
at MergeMapSubscriber.push../node\_modules/rxjs/\_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.\_tryNext (mergeMap.js:61)  
at MergeMapSubscriber.push../node\_modules/rxjs/\_esm5/internal/operators/mergeMap.js.MergeMapSubscriber.\_next (mergeMap.js:51)

---

<div class="post-metadata">

**Author:** ![israelvitordiniz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/israelvitordiniz/32/15378_2.png) [@israelvitordiniz](https://community.auth0.com/u/israelvitordiniz)\
**Post date:** [August 19, 2019, 12:02pm UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/2 "2019-08-19T12:02:53Z")

</div>

i also received this error:  
GET [https://www.googletagmanager.com/gtag/js?id=UA-118965717-3](https://www.googletagmanager.com/gtag/js?id=UA-118965717-3) net::ERR\_BLOCKED\_BY\_CLIENT

---

<div class="post-metadata">

**Author:** ![jmt.vanderlee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmt.vanderlee/32/50193_2.png) [@jmt.vanderlee](https://community.auth0.com/u/jmt.vanderlee)\
**Post date:** [August 22, 2019, 6:49am UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/3 "2019-08-22T06:49:15Z")

</div>

I’m running into this as well, seems to be isolated to hash routing.  
Auth0 strips anything after the hash. I.e.: [http://localhost:3000/#/callback](http://localhost:3000/#/callback) → [http://localhost:3000/](http://localhost:3000/)

It then internally gets redirected to [http://localhost:3000/#/callback](http://localhost:3000/#/callback), but now the ?code query parameter is no longer in the url.

---

<div class="post-metadata">

**Author:** ![kresdjan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kresdjan/32/15669_2.png) [@kresdjan](https://community.auth0.com/u/kresdjan)\
**Post date:** [August 26, 2019, 5:46pm UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/4 "2019-08-26T17:46:55Z")

</div>

Me too. Has anyone found a solution?

---

<div class="post-metadata">

**Author:** ![colt.street](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colt.street/32/12934_2.png) [@colt.street](https://community.auth0.com/u/colt.street)\
**Post date:** [October 22, 2019, 6:33pm UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/5 "2019-10-22T18:33:38Z")

</div>

Running into this issue now. Was there ever a solution to this?

---

<div class="post-metadata">

**Author:** ![minh.nguyen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/minh.nguyen/32/12765_2.png) [@minh.nguyen](https://community.auth0.com/u/minh.nguyen)\
**Post date:** [November 13, 2019, 9:14pm UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/6 "2019-11-13T21:14:14Z")

</div>

same issue here. Any updates on this?

---

<div class="post-metadata">

**Author:** ![msuggs](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/msuggs/32/14222_2.png) [@msuggs](https://community.auth0.com/u/msuggs)\
**Post date:** [June 10, 2020, 7:19pm UTC](https://community.auth0.com/t/error-on-handleredirectcallback/29613/7 "2020-06-10T19:19:19Z")

</div>

Check this out . . . could be your problem

initialNavigation: false //[angular-oauth2-oidc](https://manfredsteyer.github.io/angular-oauth2-oidc/docs/additional-documentation/routing-with-the-hashstrategy.html)
