Obtain Access Token (Bad Parameters)

This example request illustrates what happens during an invalid request for an access token.

Request

POST /cis-web/oauth2/v3/token
Accept: application/json
Content-Type: application/x-www-form-urlencoded

code=tGzv3JOkF0XG5Qx2TlKWIA&grant_type=authorization_code&client_id=PHNQ-DY47-PDAG-8NB9-XJD7-JE4J-R0W5-NK3P

Response

HTTP/1.1 400 Bad Request
Content-type: application/json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked

{
  "error" : "invalid_request",
  "error_description" : "Oauth2 error: multiple parameter values: grant_type"
}

Change Language

Feedback

Sending...

Feedback was sent.

Can't send feedback. Retry in 5 seconds.