Script fails and returns message about tokens

Running a script is not successful and returns a message similar to Refreshing cf tokens or Failed to refresh token.

Explanation

The Bluemix® session might have timed-out. The user must be logged in to Bluemix before running the container scripts.

How to resolve

Run the initenv.sh script again to log in to Bluemix and then run the failed script again.