Tearleads

SessionFailureResponse

A 401 from a route that needs a session.

Shape

object

2 fields
  • codestringoptional
    • always session_refresh_required

    session_refresh_required only when the server positively identified a stale or invalid session; other 401s carry no code.

  • errorstringrequired
    • not empty

Other fields are allowed.

Used by