Audacity crashes when saving project, but not when exporting .wav file

I am running Big Sur 11.6.2. The Audacity version is 3.1.2

Audacity is successfully able to export to .wav file but when I try to save my work as an Audacity project it crashes. This is to the same location on my drive as the export was done to. The drive isn’t full. Here is the error:

{
    "timestamp": 1640104506,
    "event_id": "74cff52f3aea40e4972e69e5907477f9",
    "platform": "native",
    "release": "audacity@3.1.2",
    "contexts": {
        "os": {
            "type": "os",
            "name": "Macintosh",
            "version": "10.16.0"
        }
    },
    "exception": {
        "values": [
            {
                "type": "Error_Writing_to_File",
                "value": "Audacity failed to write file /<path>2Client <path>~JIRA 3105 ACP Audio Only <path>.\nPerhaps disk is full or not writable.\nFor tips on freeing up space, click the help button.",
                "mechanism": {
                    "type": "runtime_error",
                    "handled": false,
                    "data": {
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step",
                        "sqlite3.rc": "101",
                        "sqlite3.context": "SqliteSampleBlock::GetBlob::step"
                    }
                }
            }
        ]
    }
}

Have you checked that the drive is available and has sufficient free space?

Yes, it is a 500GB flash storage drive with 246GB free. I do back up to iCloud but this particular folder does NOT have the “in iCloud” icon next to it as some of my other folders do.