Invalid argument when loading Scenarios

Solved!
martijn
Level 2
Invalid argument when loading Scenarios

Hi,

I came across a weird bug after upgrading from DSS 11.4.0 to DSS 12.1.0.

When switching branches through version control in a project, and navigating to the scenarios, I get an error saying Invalid Argument: An invalid argument has been encountered : Invalid format: "2022-04-20T14:15:00.000Z" is malformed at "T14:15:00.000Z". (see screenshot).

When removing the time component from several datetime fields through my own code editor in the scenario json files, and pushing them to Dataiku through git, I am able to resolve the error. But this seems like a bug.

Kind regards,

Martijn


Operating system used: Windows

0 Kudos
1 Solution
AlexT
Dataiker

@importthepandas 

This could happen post upgrade if a project is reverted to pre DSS 12 from version control.

This should now be resolved with 12.1.3 update released

https://doc.dataiku.com/dss/latest/release_notes/12.html#misc

  • Fixed issues with display of list of scenarios in some upgrade situations

Thanks

View solution in original post

9 Replies
AlexT
Dataiker

Hi @martijn,
Could you please a support ticket with the instance diagnostics so we can investigate this issue when the scenario is in broken state?

Thanks

0 Kudos
martijn
Level 2
Author

How can I open a support ticket?

0 Kudos
tgb417

@martijn 

In Dataiku DSS look in the upper right part of your screen there is a (?) question mark icon.  Choose that and depending on the version of DSS you are using you will find an understated option to submit a support ticket.  

there is also this web page with a new ticket button

https://support.dataiku.com/support/home

You will also find some information about creating an instance diagnostics here 

https://doc.dataiku.com/dss/latest/troubleshooting/diagnosing.html 

--Tom
0 Kudos
martijn
Level 2
Author

Thanks!

importthepandas

to note: we are seeing the same periodically after the bump to 12.1. we need to go manually clear each time

AlexT
Dataiker

@importthepandas 

This could happen post upgrade if a project is reverted to pre DSS 12 from version control.

This should now be resolved with 12.1.3 update released

https://doc.dataiku.com/dss/latest/release_notes/12.html#misc

  • Fixed issues with display of list of scenarios in some upgrade situations

Thanks

importthepandas

just to confirm - this is not happening only with reverted projects, but with tutorial type projects as well (e.g. in our case the govern tutorial). We will upgrade eventually, but it's a bit of a chore just to upgrade for an intermittent annoyance. Also, API calls throw errors, too.

0 Kudos
Ronny
Level 1

Updating the scenario's project .json configs did the trick for me  (e.g: from "startingFrom": "2024-03-31" TO "startingFrom": "2024-03-31T00:00:00.000Z") but i am wondering if there isn't a way from dataiku install to update the dates to valid ones during up/downgrades ? 

0 Kudos
AlexT
Dataiker

@Ronny , DSS 12.1.3+ should be tolerant to both formats, if you encounter any further issues after upgrading to 12.1.3 please log a support ticket.