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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
rolmontero
Partner - Creator
Partner - Creator

Qlik Predict - Forecast Real-time Prediction Failed Precondition Error

Hi everyone,

I hope you are all doing well. I am writing to you all mainly because we are getting an error while using the real-time API function in Qlik Predict, specifically the FAILED_PRECONDITION error when trying to load the data for a forecast app. Additionally, we kept the Enable real-time API access option active in the experiment when we deployed it. 

On the other hand, this is current script. 

ForecastData:
LOAD
'Real' as Type,
    Date,
    MonthName(Date) as YearMonth,
    TotalSales
FROM [lib://ML-Lab:DataFiles/ML/DataViz/training-sales-union.qvd]
(qvd);
 
[ML Predictions]:
Load
EXTENSION endpoints.ScriptEval('{"RequestType":"endpoint", "endpoint":{"connectionname":"SBX GE2_BEFLOW:TestConnection"}}', ForecastData);
 
Last but not least, this is the error we are getting after we try to load the data:
 
rolmontero_0-1770737518110.png

 

We are looking to hearing from you soon!

Thanks a bunch!

 

 

 

2 Replies
Oslo_Qlik
Partner - Contributor II
Partner - Contributor II

No answer?

I have the same problem whith new deploys, whereas old deployments keep on working.

It happens after a message about update problems at tenant level

 

 

rolmontero
Partner - Creator
Partner - Creator
Author

Hello @Oslo_Qlik 

So far, no answer. We keep getting the same error but only when the deployment is a forecast. We have it with a regression model and it works perfectly fine. Moreover, we tried today and still, the same error is displayed.

 

Thanks!