Registered class "could not be found" Blender 2.8 I just started learning scripting. I have a pretty basic script that should create a custom operator
import bpy

class CustomOperator(bpy.types.Operator):
    bl_label = &quot;Custom Operator&quot;
    bl_idname = &quot;object.custom_operator&quot;
        
    @classmethod
    def poll(cls, context):
        return context.active_object is not None
    
    def execute(self, context):
        old = context.scene.cursor.location
        x = 0;
        y = 0;
        z = 0;
        context.scene.cursor.location = (x, y, z)
        return {&quot;FINISHED&quot;}
   
bpy.utils.register_class(CustomOperator)

bpy.ops.objects.custom_operator()

but for some reason bpy.ops.objects.custom_operator() doesn't work and says that it &quot;could not be found&quot;.
Thanks to Gorgious for the answer. It turns out that I forgot the s in objects at the bl_idname.