Error -44007 RefNum named "RobotDrive" was not found

So I’m programming the autonomous period for the robot and everything should be working but I get this error from the driver station when I turn it on "Error -44007 RefNum named “RobotDrive” was not found. FRC: The RefNum you are trying to get first not exist in this RefNum registry. Autonomous

In begin, you have it named “Left and Right Motors” you need to use the same name in auto (at the bottom where you use Drive Get Deb Ref)

I agree with @mshafer1. Seems that RobotDrive doesn’t have anything connected to it:

FRC Driver Station Shows Error -44007