Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
on Qlik Cloud i am trying to use rest connection on spaces.
I have this error message : (Connector error: HTTP protocol error 401 (Unauthorized): Requested resource requires authentication.)
When i use the connection :
SQL SELECT
"__KEY_root",
(SELECT
"spaceId",
"_resourcetype",
"__KEY_attributes",
"__FK_attributes",
(SELECT
"__FK_custom"
FROM "custom" FK "__FK_custom")
FROM "attributes" PK "__KEY_attributes" FK "__FK_attributes")
FROM JSON (wrap on) "root" PK "__KEY_root"
WITH CONNECTION (
URL "$(baseURL)?$(vNextURL)"
);
What is the problem with the rest connection ?
Regards
Sophie
Hi,
Error 401 - indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.
Can you please confirm which space (personal, shared, managed) are you trying to connect?
Do you have rights on this space?
Also will be good to log a case to investigate further on this.
As we will be needing information about your tenant details and ids to investigate further on backend logs.
Thanks
Hi @sophie_bd
By any chance did you provide the API key in the Rest connection as a header (under Query Headers section) ?
Name Authorization
Value Bearer <API-key>
Kind Regards.