Access Token - Client ID Error

gatewaychurchgatewaychurch Posts: 4Member
I am having an issue with my access token request. It provides me an this error.

{"error":"invalid_client","error_description":"The client id supplied is invalid"}
Please assist. 

Thanks,

Michael


6 comments

  • Adrian SamuelAdrian Samuel Posts: 306Moderator, Lightspeed Staff moderator
    Hey @gatewaychurch, please explain in more detail how you got to the stage.

    Walk me through the narrative that lead you to receiving this error and I might be able to help out more

  • gatewaychurchgatewaychurch Posts: 4Member

    I am attempting to request an authentication token. I have my url request setup with my client ID and scope. When I supply my credentials it provides me a code via the localhost page. From there I supply that token along with my clientID, client secret, the code provided my the URL, and the grant type as shown via the python example on the API docs. I run the POST request and that is the response that I receive.

  • Alex LugoAlex Lugo Posts: 83Administrator, Lightspeed Staff moderator

    Hello @gatewaychurch,


    The temporary code expires after 30 seconds of being issued. You need to do the exchange before it gets expired.

    Alex Lugo
    API Support Specialist
    Lightspeed HQ
  • gatewaychurchgatewaychurch Posts: 4Member
    edited February 18

    @Alex Lugo I am running the POST call within the 30 second window.

    Post edited by gatewaychurch on
  • gatewaychurchgatewaychurch Posts: 4Member

    @Alex Lugo and @Adrian Samuel, Can someone assist with this? Is there another method to get developer support, because this method has been pretty limited?

  • Adrian SamuelAdrian Samuel Posts: 306Moderator, Lightspeed Staff moderator

    @gatewaychurch, this is the only medium for this conversation.


    Could you try again and see if anything has changed?

    Have you checked that you did indeed copy the clientID correctly?

    If you're still getting the same error, please PM me with your details

Sign In or Register to comment.