Error: Authentication failed. TokenExpiredError: jwt expired


Possible Cause: The Authentication token is being cached by the Authentication API and returning an expired token. 


Solution: Adding a header "Cache-Control: no-store" will guarantee that the Authentication API generates a new token every time it is called.


View examples that use this header.