Token Request

marsmars Member Posts: 6
edited November 2020 in Development

Hi,

I am following the procedure here to get the token request part.

https://developers.lightspeedhq.com/resto-api/introduction/authentication/


While I am doing the token request authorization, I got this response:

{

    "code": "bad_request",

    "message": "Bad Request",

    "statusCode": 400,

    "details": [

        {

            "code": "invalid_request",

            "message": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed."

        }

    ]

}

Right now, My header is:

Body:

But I can't find out which part is incorrect, can you help with it?

Post edited by mars on

2 comments

  • timkieschnicktimkieschnick Member Posts: 2

    Any follow-up or resolution to this issue?

    I am encountering the same HTTP 400 BAD_REQUEST after following the same instructions while attempting to ask for my first token by hand in postman.

  • timkieschnicktimkieschnick Member Posts: 2

    Resolved: The redirect URI in the request needs to match the one assigned to your client ID. 

Sign In or Register to comment.