Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Highlighted
bekahbeets2003
Contributor

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
Employee
Employee

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

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

2 Replies
Employee
Employee

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

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

bekahbeets2003
Contributor

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

Thanks buddy!