The controller is not callable

Hello all I’m migrating symfony to version 5.4 and I’m having a problem with a controller:

The controller for URI "/api/resetting/tokentest/reset.json" is not callable: Controller "WOODUserBundleControllerResettingRESTController" cannot be fetched from the container because it is private. Did you forget to tag the service with "controller.service_arguments"?

As specified in the documentation, I added the controller.service_arguments tag but the problem still occurs. Do you have an idea please?

# Form factory WOODUserBundleControllerResettingRESTController: '@fos_user.profile.form.factory' tags: ['controller.service_arguments']