Issue in get The Access Token by Requesting


#1

Hi,

below process i followed but some how not able to get solution(error in get
access token)

request :

POST /v2/token_endpoint HTTP/1.1

Host: api.sandbox.freeagent.com

grant_type: authorization_code

code: 4/z7IBgRS-Pjx6y5-djE-uaRAjqeYleIdVCyjwiFgnfdg

redirect_uri: https://google.com

Content-Type: application/x-www-form-urlencoded;charset=UTF-8

client_id: 3go0PEltpEHFFzEOdliIzQ

client_secret: OLefVbuT3LhEqpMh-2iq3w

Cache-Control: no-cache

Postman-Token: d47f46b7-9e1d-2969-8a40-53ee2120d5c2

responce

{

“error”: “invalid_request”

}

i am helpless please help me out

Thanks.