Hi all,
Using CryoSPARC v5.0.4
When trying to attach a project to our CryoSPARC instance we receive an error that says:
Project attachment failed, check api log for details. To recover, address the issue(s) and attach again.
The relevant lines in the api log are below (paths and ip addresses have been obfuscated for security):
2026-06-08 15:22:01,178 app attach INFO | Created project P188 from directory /nfs/path/to/project/CS-xxxxxxx
2026-06-08 15:22:01,178 uvicorn.access send INFO | xxx.xxx.xxx.xxx:51430 - "POST /projects%3Aattach?path=%2Fnfs%2Fpath%2Fto%2Fproject%2FCS-xxxxxxx HTTP/1.1" 200
2026-06-08 15:22:01,178 core.data_management attach_project_d INFO | Importing project data for P188 from directory /nfs/path/to/project/CS-xxxxxxx
2026-06-08 15:22:01,180 core.data_management attach_project_d ERROR | Project attachment failed with Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/local/cryosparc/cryosparc_master/core/data_management.py", line 83, in attach_project_data
workspace_manifest = load_workspace_manifest(project)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/cryosparc/cryosparc_master/core/data_management.py", line 342, in load_workspace_manifest
return json_utils.mongo_load(fp)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/cryosparc/cryosparc_master/util/json_utils.py", line 43, in mongo_load
return json.load(fp, object_hook=mongo_object_hook, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/cryosparc/cryosparc_master/.pixi/envs/master/lib/python3.12/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/local/cryosparc/cryosparc_master/.pixi/envs/master/lib/python3.12/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/cryosparc/cryosparc_master/.pixi/envs/master/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/cryosparc/cryosparc_master/.pixi/envs/master/lib/python3.12/json/decoder.py", line 356, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2026-06-08 15:22:01,183 core.data_management attach_project_d ERROR | Unable to import project from /nfs/path/to/project/CS-xxxxxxx
I’m unsure what file it is complaining about but the job_mainfest.json, project.json, and workspaces.json files seem to be correct json files to my untrained eyes.
Any suggestions?
