# Issues authenticating

**URL:** <https://community.servicem8.com/t/issues-authenticating/1006>\
**Category:** API & SDK\
**Created:** [April 4, 2018, 8:20am UTC](https://community.servicem8.com/t/issues-authenticating/1006 "2018-04-04T08:20:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [April 4, 2018, 8:20am UTC](https://community.servicem8.com/t/issues-authenticating/1006/1 "2018-04-04T08:20:44Z")

</div>

**Originally posted by Chad**

I have been using Oauth2 to authenticate for the last few days and all of a sudden my tokens became invalid.  
I have tried creating new codes and going through the authentication process again on 2 x servicem8 accounts and have even created a second developer account.  
I recieve a code in the URL however I get :

Raw response for the API  
“{"error":"invalid\_grant","error\_description":"Authorization code doesn’t exist or is invalid for the client"}”

up until now it has been working however now I cant get past the first stage.
