I created a new route that is called via the POST method in a project where we use Zend Expressive and I went to test it using Insomnia, but the answer the server gives me is the following:
"Service with name Domain\v1\SmartLocker\Action\DeliverPackage could not be created. Reason: "
This is the structure of my folder where my Action and also my Service are:
This is the getRoutes() method located inside my ConfigProvider.php:
And this is the error:
Things I've tried to do but didn't work:
- Delete data/config-cache.php
- Change data/config-cache.php permission
- Change route name and files (I don't know if this makes sense)
Has anyone been through something like this and can you help please?


