Received an email this morning with a '500' error....
# support
t
Received an email this morning with a '500' error. Details in thread.
1
a
yes, it's a modal error, but i'm having a hard time debugging it hahaha
yes, @kevin, by default we retry the errors on the sdk up to 5 times
1
omg, i think i found the error
there is a problem with the format of they ds column
@Tracy Teal could we answer the following? hey! thank you so much for using timegpt. we saw that there is a problem with the datetime column you're providing. it should be formatted in
%Y-%m-d %H-%M-%S
(since we don't support utc-based datestamps yet), could you try formatting in that way? here's a snippet:
Copy code
df["ds"] = df["ds"].str.replace("-06:00", "")
X_df["ds"] = X_df["ds"].str.replace("-06:00", "")
and making the request again. thank you!
here's the fix working
(not share the screenshot hahahaha)
m
Great catch @azul (she/her) (nixtla).
a
i mean, the format is not entirely wrong, since it is
datetime64[ns, UTC-06:00]
, but we don't support utc based datestamps yet, looping in @José Morales to think in supporting this once he is back
m
I created an issue on Gh. Lmk if it needs to be changed.
a
awesome! thank you @Max. also could you open one in nixtla/large-time-model-api linking it to that issue to keep track in the "back" of the api? thank you!
👍 1
t
Thanks so much! @azul (she/her) (nixtla) I'll pass your message (and not the screenshot) on to the user.
k
provisionally a more descriptive error when finding an unsupported datetime format would be helpful too
a
i agree @kevin 🙌
thank you @Tracy Teal 🫶