Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Data Works for AI is here - Join the discussion and enter to win a pair of Qlik kicks: Join the Conversation!
cancel
Showing results for 
Search instead for 
Did you mean: 
PedroC
Contributor III
Contributor III

Automation reload error due to "Variables exceed max allowed"

Hi,

I'm running an automation that has several input variables that are passed to a reload block that runs a script (not an application)

That scripts has been working fine until today that I added a new variable to the reload script and automation fails with this message:

PedroC_0-1781695992849.png

 

If I remove the very last variable reload works fine.

With the new one there are 21 variables passed to the script. Seems that 20 variables are fine but 21 exceed the limit.

I've looking for that limit but I've not found anything about it.

Any help?

Thanks in advance

 

 

Labels (1)
1 Solution

Accepted Solutions
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

Hi @PedroC 

The limit is documented directly in the Reloads REST API reference on the Qlik Developer Portal: "Maximum of 20 variables allowed with a maximum length of 256 characters for each name/value." Qlik

Source: https://qlik.dev/apis/rest/reloads/

Under the POST /api/v1/reloads request body schema, in the variables array property description.

I hope that helps.

BR,

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

View solution in original post

3 Replies
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

Hi @PedroC 

The limit is documented directly in the Reloads REST API reference on the Qlik Developer Portal: "Maximum of 20 variables allowed with a maximum length of 256 characters for each name/value." Qlik

Source: https://qlik.dev/apis/rest/reloads/

Under the POST /api/v1/reloads request body schema, in the variables array property description.

I hope that helps.

BR,

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

As a workaround you could try splitting it into two chained reload blocks.

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

PedroC
Contributor III
Contributor III
Author

Thanks Eduardo. 

I guess the reload block in Qlik Automation should've not accepted more than 20 variables if there's such a limitation.

I don't think chaining reload blocks is a solution, at least in my case. 

Perhaps I could merge some variables in one and do some preprocessing in the script using subfields() or even GetJson()

Thanks again