As described in this topic: [https://blenderartists.org/t/how-to-access-fcurves-in-blender-5-0/1623022](url) The error is thrown after attempting "Bake Into Action"