Why am I receiving a TypeError when trying to invoke an action via the Connect REST API?

Posted thread to Discourse: Why am I getting a "TypeError: Cannot read properties of undefined (reading 'oauth_access_token')" error when invoking an action through the connect REST API?