Should I increase limit when I increase the velocity limit?

Sorry for the basic question!

I’m using odrive to control two motor of a diff drive robot .
the max velocity that will be sent to the odrive around 35 turn/sec
my current config for the limit are

current : odrv0.axis0.motor.config.current_lim = 10
velocity : odrv0.axis0.controller.config.vel_limit = 10

I changed the velocity limit to 40 , however when I give the odrive velocity command
around 30 i got motor errors.

so I was wondering If i should change the current limit or something else ?

What errors exactly?

I dont have it now, but I will check tomorrow and let you know.

However, I was also wondring
If I want to run the motor on 35 turn/sec
What parameters should I configure and how much should I set the limit.

The units of velocity are turns/sec. So it would be as simple as
controller.config.control_mode=CONTROL_MODE_VELOCITY_CONTROL
controller.input_vel=35