Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
fabian3684386
Contributor III
Contributor III

AxiosError

Please what is the meaning of this error message appearing during data load in combination with extension development (data load finishes correctly despite the console error) and how do I debug it?

 

 

 

Uncaught (in promise)

r {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …}
code: "ERR_BAD_RESPONSE"
config: {transitional: {…}, transformRequest: Array(1), transformResponse: Array(1), timeout: 0, adapter: ƒ, …}
message: "Request failed with status code 500"
name: "AxiosError"
request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
response: {data: '', status: 500, statusText: 'Internal Server Error', headers: {…}, config: {…}, …}
[[Prototype]]: Error
constructor: ƒ r(e,t,n,o,r)
toJSON: ƒ ()

 

affected URL of the Axios request leads to an internally created app script:

"https://qliksense-dev.*.com/api/v1/apps/*/scripts"

 

Under which circumstances have you received this before?

Can you find more internal server logs somewhere?

Thanks!

Qlik Sense Business 

Labels (2)
1 Reply
ajaykakkar93
Specialist III
Specialist III

Hi,

If i guess correctly you are trying to connect with Qlik SaaS/Cloud API,

I recommend you to use ajax & check for the same in async

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting