Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
cdyaro
Contributor II
Contributor II

REST connector for POST method started throwing 405 HTTP error

Hi,

 

I have an QS app which uses Qlik NPrinting APIs inside a load script which was working fine for the last 1.5 half year and suddenly started throwing an error:

2021-06-30 06:33:50 Error: HTTP protocol error 405 (Method Not Allowed):
2021-06-30 06:33:50
2021-06-30 06:33:50 {"message":"The requested resource does not support http method 'POST'."}

 

I've been searching through other similar topics but not able to find the solution.

Nothing has changed lately, no upgrades to the platform. This is Qlik Sense June 2019 Patch 6.

Is it something with the way cookie is set? I have it as below:

 

let vCookieRaw = peek( 'Set-Cookie',0,'_response_header');

if vSSL='No' then
let vCookie=TextBetween('$(vCookieRaw)','HttpOnly,','Path=/',1);
else
let vCookie = TextBetween('$(vCookieRaw)','Secure,','Path=/',2);
end if

I would be very grateful for any help on this issue.

If anything else needed from my side, please let me know.

 

Labels (2)
10 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

@tom503 

Link to my nprintingadventures blog with qvs file works. It contains all required info. 
cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.