Date Published: September 27, 2023
ACLI/Cloud IDE access token has expired
Issue¶
In Cloud IDE when you are running `acli pull` you may encounter the following error:
In ExceptionListener.php line 90:
Cloud Platform API returned an error: The access token has expired.
Resolution¶
In Cloud IDE, we use what we call "refresh tokens", so your access to the API is made possible through using your Acquia Cloud Platform SSO session as it lowers the barrier to entry compared to having to manually authenticate.
Usually when you have "The access token has expired" message it means either you had really bad luck and the token got refreshed while you were in the middle of making an API call or - and it's more likely - you had 2 different IDEs windows, which will confuse access tokens and return this message. In which case, the solution is to have only 1 IDE tab open at any point in time.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.