# "Can't exchange token" error in the setup wizard

**URL:** <https://community.auth0.com/t/cant-exchange-token-error-in-the-setup-wizard/7167>\
**Category:** Get Help\
**Tags:** tokens, migrate-users\
**Created:** [June 21, 2017, 2:39am UTC](https://community.auth0.com/t/cant-exchange-token-error-in-the-setup-wizard/7167 "2017-06-21T02:39:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam11](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@sam11](https://community.auth0.com/u/sam11)\
**Post date:** [June 21, 2017, 2:39am UTC](https://community.auth0.com/t/cant-exchange-token-error-in-the-setup-wizard/7167/1 "2017-06-21T02:39:16Z")

</div>

Hey Guys,

While automatic configiration in the setup wizard they show me this error “can’t exchange token”. this is the error log

06/20/2017 17:31:43 WP\_Auth0\_Api\_Client::update\_client N/A {“statusCode”:400,“error”:“Bad Request”,“message”:“Bad HTTP authentication header format”,“errorCode”:“Bearer”}  
06/20/2017 16:16:52 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:403,“error”:“Forbidden”,“message”:“Insufficient scope, expected any of: read:connections”,“errorCode”:“insufficient\_scope”}  
06/20/2017 15:52:40 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:403,“error”:“Forbidden”,“message”:“Insufficient scope, expected any of: read:connections”,“errorCode”:“insufficient\_scope”}  
06/20/2017 15:35:49 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:403,“error”:“Forbidden”,“message”:“Insufficient scope, expected any of: read:connections”,“errorCode”:“insufficient\_scope”}  
06/20/2017 15:30:51 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:400,“error”:“Bad Request”,“message”:“Bad HTTP authentication header format”,“errorCode”:“Bearer”}  
06/20/2017 14:54:29 WP\_Auth0\_Api\_Client::update\_client N/A {“statusCode”:400,“error”:“Bad Request”,“message”:“Bad HTTP authentication header format”,“errorCode”:“Bearer”}  
06/19/2017 19:30:43 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/19/2017 19:14:28 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/11/2017 09:08:17 init\_auth0\_oauth/token invalid\_grant Invalid authorization code  
06/10/2017 13:49:36 init\_auth0\_oauth/token invalid\_grant Invalid authorization code  
06/05/2017 15:42:42 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/05/2017 15:12:27 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/05/2017 10:57:13 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/05/2017 10:56:47 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/05/2017 10:53:52 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/05/2017 10:51:55 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/05/2017 10:51:16 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/04/2017 23:43:13 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/04/2017 23:42:19 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}  
06/04/2017 23:41:29 WP\_Auth0\_Api\_Client::search\_connection N/A {“statusCode”:401,“error”:“Unauthorized”,“message”:“Invalid token”}

Anybody can help on this ???

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/cant-exchange-token-error-in-the-setup-wizard/7167/2 "2018-03-02T05:54:48Z")

</div>


