Follow the below guide for instructions on how to replace your eBike's shift sensor if you need to perform this fix.
The first thing is to check where your shift sensor is attached - the procedure differs based on shift sensor location. The shift sensor could be mounted up by your handlebars, or by the drive side chainstay of the bike. Select the option that applies to your bike below for a video on how to replace the shift sensor at that location!