Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Hideto_8
Contributor II
Contributor II

Error HTTP protocol error 403 (Forbidden): The server refused to fulfill the request

Hello,

I have a rest connection that work perfectly, this api is to bring the applications loading history, but when I replace the owner of a any space I get this error when reloading the script.

Hideto_8_0-1675450002919.png

 

any idea on why this is happening?

 

Labels (2)
1 Solution

Accepted Solutions
Frank_S
Support
Support

Hello,

If this is the result of an NPrinting API connection, please visit the following article for resolution:

https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-June-2020-connecting-to-NPrinting-ge...

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

5 Replies
rubenmarin

Hi, the forbidden error is usually related to permissions, I'm not sur why it could be related to the owner of the space, maybe the connector used is using the credentials used to reload the app.

Btw, if you applications you are loading are qlik cloud apps, there is already an app that does that: https://community.qlik.com/t5/Support-Updates/The-Reload-Analyzer-for-Qlik-SaaS-customers-is-availab...

https://community.qlik.com/t5/Official-Support-Articles/The-Qlik-Sense-Monitoring-Applications-for-C...

Frank_S
Support
Support

Hello,

If this is the result of an NPrinting API connection, please visit the following article for resolution:

https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-June-2020-connecting-to-NPrinting-ge...

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Mahaboob_Syed
Contributor II
Contributor II

Hello @Frank_S 

I'm seeing the below when trying the article with the solution

Mahaboob_Syed_0-1693832693226.png

Could you please share the solution here?

 

Regards

Syed

 

Frank_S
Support
Support

Hi @Sonja_Bauernfeind. Please see above. Thank you.

cc @Mahaboob_Syed 

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Frank_S
Support
Support

Hello all!

The article that was archived basically states that you need the following:

1. A currently supported version of Qlik Sense (fix began as of Qlik Sense Sept. 2020 track)

2. Updated API  load script as described below:

Replace Original API script

//Extracts session cookie from the API response June 2020 Qlik Sense and earlier

let vCookieRaw = Peek('Set-Cookie',0,'_response_header');
let vCookie = TextBetween('$(vCookieRaw)','Secure,','Path=/',2);

With

//Extracts session cookie from the API response Sept 2020 Qlik Sense and later versions

Let vCookieRaw = Peek('Set-Cookie',0,'cookie_items');
Let vCookie = TextBetween(vCookieRaw,'SameSite=None,',' Path=/',SubStringCount(vCookieRaw,'SameSite=None')-1);

 

Kind regards...

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!