Sometimes, when it doesn't fail due to bug https://github.com/NIVANorge/nivacloud/issues/258, thingverse-init fails with a JSON serialization error. This seems to also be somehow nondeterministic even though you would expect it to either always fail or always succeed.
The actual code that fails is in metaflow.py (in pyniva) at the start of the update_thing function. Sometimes thing that is passed in here has start_time and end_time fields with str values, and sometimes they are datetime values.
I've only seen this when debugging, and possibly suspending execution for a while, but I think it's very strange that this should be caused by a timeout somewhere. Some kind of Heisenbug.