Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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

bekahbeets
Creator
Creator
Author

Thanks buddy!