Chathurangi Shyalika
08/29/2024, 2:41 AMApiError: status_code: 500, body: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Worker threw exception | api.nixtla.io | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]-->
<style>body{margin:0;padding:0}</style>
<!--[if gte IE 10]><!-->
<script>
if (!navigator.cookieEnabled) {
window.addEventListener('DOMContentLoaded', function () {
var cookieEl = document.getElementById('cookie-alert');
cookieEl.style.display = 'block';
})
}
</script>
<!--<![endif]-->
</head>
<body>
<div id="cf-wrapper">
<div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
<div id="cf-error-details" class="cf-error-details-wrapper">
<div class="cf-wrapper cf-header cf-error-overview">
<h1>
<span class="cf-error-type" data-translate="error">Error</span>
<span class="cf-error-code">1101</span>
<small class="heading-ray-id">Ray ID: 8ba922e11cf7b46f • 2024-08-29 02:33:25 UTC</small>
</h1>
<h2 class="cf-subheadline" data-translate="error_desc">Worker threw exception</h2>
</div><!-- /.header -->
<section></section><!-- spacer -->
<div class="cf-section cf-wrapper">
<div class="cf-columns two">
<div class="cf-column">
<h2 data-translate="what_happened">What happened?</h2>
<p>You've requested a page on a website (api.nixtla.io) that is on the <a href="<https://www.cloudflare.com/5xx-error-landing/>" target="_blank">Cloudflare</a> network. An unknown error occurred while rendering the page.</p>
</div>
<div class="cf-column">
<h2 data-translate="what_can_i_do">What can I do?</h2>
<p><strong>If you are the owner of this website:</strong><br />you should <a href="<https://www.cloudflare.com/login?utm_source=error_100x>" target="_blank">login to Cloudflare</a> and check the error logs for api.nixtla.io.</p>
</div>
</div>
</div><!-- /.section -->
<div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">
<p class="text-13">
<span class="cf-footer-item sm:block sm:mb-1">Cloudflare Ray ID: <strong class="font-semibold">8ba922e11cf7b46f</strong></span>
<span class="cf-footer-separator sm:hidden">•</span>
<span id="cf-footer-item-ip" class="cf-footer-item hidden sm:block sm:mb-1">
Your IP:
<button type="button" id="cf-footer-ip-reveal" class="cf-footer-ip-reveal-btn">Click to reveal</button>
<span class="hidden" id="cf-footer-ip">34.66.126.43</span>
<span class="cf-footer-separator sm:hidden">•</span>
</span>
<span class="cf-footer-item sm:block sm:mb-1"><span>Performance & security by</span> <a rel="noopener noreferrer" href="<https://www.cloudflare.com/5xx-error-landing>" id="brand_link" target="_blank">Cloudflare</a></span>
</p>
<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /.error-footer -->
</div><!-- /#cf-error-details -->
</div><!-- /#cf-wrapper -->
<script>
window._cf_translation = {};
</script>
</body>
</html>
Chathurangi Shyalika
08/29/2024, 2:28 PMSantosh Puvvada
09/06/2024, 8:18 AMTracy Teal
09/04/2024, 8:06 PMAravind Cheruvu
09/30/2024, 7:06 PMds
(timestamp) and with just index values 0,1,2,...?Vidar Ingason
10/07/2024, 8:23 PMnixtla_client_fcst
[1] TimeGPT ds
<0 rows> (or 0-length row.names)
I'm using nixtlar 0.5.4Mariana Menchero
10/07/2024, 8:25 PMVidar Ingason
10/08/2024, 8:49 AMtimegpt_tbl
# A tibble: 13,032 × 3
ds unique_id y
<dttm> <chr> <dbl>
1 2022-04-14 03:00:00 id_333 34.5
2 2022-04-14 07:00:00 id_333 37
3 2022-04-14 11:00:00 id_333 48
4 2022-04-14 15:00:00 id_333 41.4
5 2022-04-14 19:00:00 id_333 40.1
6 2022-04-14 23:00:00 id_333 28
7 2022-04-15 03:00:00 id_333 35.7
8 2022-04-15 07:00:00 id_333 36
9 2022-04-15 11:00:00 id_333 42
10 2022-04-15 15:00:00 id_333 41.7
# ℹ 13,022 more rows
# ℹ Use `print(n = ...)` to see more rows
>
> fcst <- nixtla_client_forecast(df = timegpt_tbl, h = 12, id_col = "unique_id", time_col = "ds", target_col = "y")
Frequency chosen: 4h
Error in seq.Date(from = start_date, by = r_freq, length.out = h + 1) :
invalid string for 'by'
In addition: Warning message:
All formats failed to parse. No formats found.
Apoorv Khanuja
10/10/2024, 4:51 PMVidar Ingason
10/12/2024, 10:34 PMFrequency chosen: M
Error in nixtlar::nixtla_client_forecast(df = timegpt_fit_tbl, h = prepared_data_list$horizon, :
Your time series is too short. Please make sure that each of your series contains at least 36 observations.
Mariana Menchero
10/17/2024, 5:35 PMVidar Ingason
10/18/2024, 1:06 PM> nixtla_client_cross_validation(
+ df = timegpt_tbl,
+ h = 3,
+ n_windows = 5)
Frequency chosen: M
unique_id ds cutoff y TimeGPT
1 <tel:000122023-07-01|00012 2023-07-01> 1970-01-01 05:25:09 4691367 4763307
2 <tel:000122023-08-01|00012 2023-08-01> 1970-01-01 05:25:09 4632109 4660824
3 <tel:000122023-09-01|00012 2023-09-01> 1970-01-01 05:25:09 3925616 4002058
4 <tel:000122023-10-01|00012 2023-10-01> 1970-01-01 05:26:41 3282128 3235828
5 <tel:000122023-11-01|00012 2023-11-01> 1970-01-01 05:26:41 2579690 2739404
6 <tel:000122023-12-01|00012 2023-12-01> 1970-01-01 05:26:41 2446004 2606284
Jelte Bottema
10/21/2024, 11:40 AMApoorv Khanuja
10/21/2024, 9:32 PMstatus_code: 422, body: detail=[ValidationError(loc=['body', 1], msg='JSON decode error', type='json_invalid', ctx={'error': 'unexpected content after document'})]
. Could someone please shed some light on why I might be getting this error?
Thanks for the help!David McCandless
10/24/2024, 5:29 PMclean_ex_first=True
does with exogenous variables?Paul Reichert
10/30/2024, 11:22 AMPaul Reichert
11/03/2024, 4:33 PMJon T
12/06/2024, 4:44 PMStuart Kerr
12/16/2024, 7:15 AMMicah Denver
12/17/2024, 6:34 PMJon T
12/22/2024, 8:18 PMJosé Morales
01/02/2025, 9:18 PMpip install -U nixtla
), give it a try and let us know if you run into any issues.
• Tutorial
• Full release notesSeethamraju Purvaj
01/03/2025, 12:35 PMfeature_contributions
as when I try to extract them I get nixtla client has no parameter / member variable feature_contributions do we need any specific version of nixtla for this ? I have 0.6.4
Thanks.Jerry Gamblin
01/09/2025, 5:45 PMunique_id=ts_0
. Am I missing something obvious?Alexandre Moreau
01/13/2025, 4:40 PMMike Powers
01/22/2025, 6:07 PMMike Powers
01/22/2025, 6:07 PMMike Powers
01/22/2025, 6:09 PMsaaid
02/01/2025, 8:13 PM[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)
Sarah Unterseher
04/09/2025, 2:51 PMValueError: Series contain missing or duplicate timestamps, or the timestamps do not match the provided frequency.
Please make sure that all series have a single observation from the first to the last timestamp and that the provided frequency matches the timestamps'.
You can refer to <https://docs.nixtla.io/docs/tutorials-missing_values> for an end to end example.
My training data (df) is structured as follows: I have three columns unique_id, ds and y. The time series of one unique_id are always 288 rows long and the next time series starts one hour after the previous one. So there are the same timestamps several times but with different unique_ids. According to the documentation, this should work, right? Unfortunately I don't understand why I am getting this error in my setup.