FTC: Gobilda 5203 motor encoder not working

I am struggling to get by Gobilda 5203 motor encoder to work properly. No matter what I do, the encoder displays 0. What I have tried:

Different port (didn’t work)
Different 5203 motor (didn’t work)
I tested the code by using a drive wheel motor encoder and that worked fine, so I don’t suspect it’s a code issue.

Is there anything else I can attempt to get it to work?

Can you share your code