Access Token Refresh - HTTP 302 error
I have a process that been running for a long time successfully with the same Lightspeed API refresh token. It was successfully used to get a access token on Friday evening but failed on Saturday morning. I manually tested the access request and got back a 302 error. Location header returned has "/login.html?redirect_after_login=%2Foauth%2Faccess_token.php%250A%250A". I tried other credentials under the same Lightspeed Retail account successfully with the same URL. The first part of refresh token still shows when login to Lightspeed under API Client.
What is the cause of the 302 error?