array(1) { [“fault”]=> array(2) { [“faultstring”]=> string(20) “Invalid Access Token” [“detail”]=> array(1) { [“errorcode”]=> string(42) “keymanagement.service.invalid_access_token” } } }
I got invalid access
array(1) { [“fault”]=> array(2) { [“faultstring”]=> string(20) “Invalid Access Token” [“detail”]=> array(1) { [“errorcode”]=> string(42) “keymanagement.service.invalid_access_token” } } }
I got invalid access
Good afternoon Jon,
That looks like you’re making a call against the API with an invalid token; have you walked the OAuth2 process to generate an authorization code and exchange it for an access token and refresh token?
https://developer.infusionsoft.com/getting-started-oauth-keys/
Alternately, you can make calls using a Personal Access Token if you’re just wanting to get your own data, but if you’re using an SDK there you might need to make changes to have it sent as the proper header.