Qlik Community

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Don't miss the upcoming Q&A with Qlik session on Qlik Application Automation on November 16th! REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
bekahbeets
Creator
Creator

What is Code 204:: when reloading an app from the qrs?

I am using the qlikbelt with the qrs-Interact module and it calls the qrs reload function via a post. I am getting code 204 with no data but "204::" returned. What does this mean?

(the 'received error code' is text i wrote. idk if its an error or not)

    204.PNG

trt.Post(

            'app/'+appId+'/reload', //qrs call that is passed to the post function

            {}

            ,

            'json'

        ).then(function(result) //this is never called because the post function identifies it as an error

        {

          console.log(result.statusCode);

          console.log(result.body);

          console.log('Success: App refreshed.');

        })

1 Solution

Accepted Solutions
Levi_Turner
Employee
Employee

That is expected. A 204 HTTP response isn't an error but merely that the request succeeded but there was not a content response:

The server has fulfilled the request but does not need to return an entity-body

HTTP/1.1: Status Code Definitions

View solution in original post

2 Replies
Levi_Turner
Employee
Employee

That is expected. A 204 HTTP response isn't an error but merely that the request succeeded but there was not a content response:

The server has fulfilled the request but does not need to return an entity-body

HTTP/1.1: Status Code Definitions

View solution in original post

bekahbeets
Creator
Creator
Author

Thanks buddy!