Hi,
I have trouble obtaining access token through rest API.
Here is my request and corresponding response. The response body is {“error”:“invalid_client”} and there is a response header X-Mashery-Error-Code with value ERR_403_DEVELOPER_INACTIVE
Any thoughts on what could be causing this?
Thank you!
REQUEST
POST /token HTTP/1.1
User-Agent: HTTPie/0.9.9
Accept-Encoding: gzip, deflate
Accept: application/json, */*
Connection: keep-alive
Content-Type: application/json
Content-Length: 248
Host: api.infusionsoft.com
{"client_id": "[==removed==]", "client_secret": "[==removed==]", "grant_type": "authorization_code", "code": "[==removed==]", "redirect_uri": "[==removed==]"}
RESPONSE
HTTP/1.1 401 Unauthorized
Cache-Control: no-store
Content-Type: application/json;charset=UTF-8
Date: Sat, 03 Jun 2017 22:03:01 GMT
Pragma: no-cache
Server: Mashery Proxy
WWW-Authenticate: Basic realm="api.infusionsoft.com"
X-Error-Detail-Header: Account Inactive
X-Mashery-Error-Code: ERR_403_DEVELOPER_INACTIVE
X-Mashery-Responder: prod-j-worker-us-west-1c-63.mashery.com
Content-Length: 26
Connection: keep-alive
{"error":"invalid_client"}