Keyframe_insert property "bevel_factor_end" not found

The script:

import bpy

for obj in bpy.context.selected_objects:
    print(obj) = 1
    # Error happens here
    obj.keyframe_insert(data_path="bevel_factor_end", frame=96)


<bpy_struct, Object("Curve.005")>
Traceback (most recent call last):
  File "D:\Workshop\project.blend\resolution", line 6, in <module>
TypeError: bpy_struct.keyframe_insert() property "bevel_factor_end" not found
Error: Python script failed, check the message in the system console

I’m trying to add a keyframe to a property called “bevel_factor_end”. It is a Curve object. But I can’t insert the keyframe because apparently “bevel_factor_end” is not found. Even though I am able to edit it through = 1