Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

REST API 401 Error -Http Proocol Error 401 (Unauthorized): 'OAuth2'

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniel_Seo
Support
Support

REST API 401 Error -Http Proocol Error 401 (Unauthorized): 'OAuth2'

Last Update:

May 21, 2021 3:10:55 PM

Updated By:

Andre_Sostizzo

Created date:

Dec 12, 2017 10:50:08 PM


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.


000043546.png

 

Environment:

Qlik REST Connector 
     

Cause:


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.

Labels (1)
Contributors
Version history
Last update:
‎2021-05-21 03:10 PM
Updated by: