Grant Type Error

kdoll007kdoll007 Member Posts: 3

Trying to get an access token but keep getting this error {"error":"invalid_request","error_description":"The grant type was not specified in the request"} I have authorized the grant type as -F 'grant_type=authorization_code' \

and I am able to obtain the temporary code without issue but when I go to generate the actual code I keep getting this error. I am using Postman and I send the POST request within 30 seconds of receiving my temporary code.

Any help with this please?


1 comment

  • kdoll007kdoll007 Member Posts: 3




    233 ms

    • Network

    Request Headers

    Content-Type: application/json

    User-Agent: PostmanRuntime/7.26.7

    Accept: */*

    Cache-Control: no-cache

    Postman-Token: 4269021e-1577-422e-b42d-2d477c8b87f8


    Accept-Encoding: gzip, deflate, br

    Connection: keep-alive

    Content-Length: 331

    Cookie: __cfduid=d6beb1635c17903ad469adb7a3288e9cd1603497473

    Request Body

    config: {

    url: '',

    method: 'post',


    Response Headers

    Date: Sat, 24 Oct 2020 01:27:25 GMT

    Content-Type: application/json

    Content-Length: 97

    Connection: keep-alive

    x-frame-options: SAMEORIGIN

    X-XSS-Protection: 1; mode=block

    X-Content-Type-Options: nosniff

    Cache-Control: no-store

    CF-Cache-Status: DYNAMIC

    cf-request-id: 05f9d0c59c00005f1726010000000001

    Expect-CT: max-age=604800, report-uri=""

    Server: cloudflare

    CF-RAY: 5e6fea4f5c285f17-OMA

    Response Body

    {"error":"invalid_request","error_description":"The grant type was not specified in the request"}

    Show raw log




    93 ms

Sign In or Register to comment.