When loading data from an API by using REST connector. it keeps failing. The API uses OAuth2 with bearer type token. But If you try the same authorization with some other API client, it works. If you try to refresh token with Qlik, it works. So at least the connector is working. But If you try to use the token to load data, it fails saying 401 error for both QV and QS as follows.
REST Connector doesn't support OAuth schema authentication
Resolution:
REST Connector doesn't support OAuth schema authentication as per documentation. Therefore, this error is expected. See below excerpt from documentation at REST Connector
The REST Connector supports the following authentication methods: - Windows authentication - Basic and Digest authentication schema - X509 certificates - The REST Connector does not support OAuth schema authentication.