Strange intermittent error connecting to the API (error 1010)

For a test case, I just forced a failed authentication in the same sandbox code used from above and got:

{
“code”: 401,
“errors”: “{ "errors": [ { "category": "AUTHENTICATION_ERROR", "code": "UNAUTHORIZED", "detail": "This request could not be authorized." } ]}”
}

So i do see SQ errors “usually”.