Home > Enterprise >  API Platform custom controller return error 500 "Controller [name] does neither exist as servic
API Platform custom controller return error 500 "Controller [name] does neither exist as servic

Time:09-30

I would like to register a user from my react frontend to my symfony/apiplatform API. I got inspiration from the documentation of API Platform Error on postman

I tried to find some solutions on internet and tried to clear cache both in prod and dev but I still have the problem.

How can I solve this error please?

CodePudding user response:

As @Cerad said in comment, I need to take off double quote.

What I replaced :

"controller" = "RegisterController::class"

to

"controller" = RegisterController::class

  • Related