Does not recognize the AS5047P encoder on board

I am using an MKS Odrive MINI, similar to the Odrive Pro. But despite having the encoder on board and using a radial magnet near the encoder, I activate the commands to calibrate it and it is not recognized.
Error Odrive

try it
odrv0.axis0.encoder.config.mode = ENCODER_MODE_SPI_ABS_AMS
odrv0.axis0.encoder.config.abs_spi_cs_gpio_pin = 7

I think this video will be helpful to you

Hi - unfortunately the Makerbase device isn’t a genuine ODrive, and we aren’t able to support it. I’d recommend reaching out to Makerbase for support.