Auszug aus dem API-Log:
Code:
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] request.INFO: Matched route "task_put". {"route":"task_put","route_parameters":{"_controller":"contao_manager.controller.tasks:putTask","_route":"task_put"},"request_uri":"http://wbv.localhost/contao-manager.phar.php/api/task?_locale=de","method":"PUT"} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":1} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] security.DEBUG: Calling getCredentials() on guard configurator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] security.DEBUG: Passing guard token information to the GuardAuthenticationProvider {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] security.INFO: Guard authentication successful! {"token":"[object] (Symfony\\Component\\Security\\Guard\\Token\\PostAuthenticationGuardToken: PostAuthenticationGuardToken(user=\"ck\", authenticated=true, roles=\"\"))","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] security.DEBUG: Guard authenticator set no success response: request continues. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:29] security.DEBUG: Remember me skipped: it is not configured for the firewall. {"authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[27-Nov-2017 19:51:30 Europe/Berlin] [2017-11-27 19:51:30] app.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "A task is already active" at phar:///Users/janoschbatschi/Dropbox/Sync/MAMP/htdocs/wbv/web/contao-manager.phar.php/api/Controller/TaskController.php line 75 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\BadRequestHttpException(code: 0): A task is already active at phar:///Users/janoschbatschi/Dropbox/Sync/MAMP/htdocs/wbv/web/contao-manager.phar.php/api/Controller/TaskController.php:75)"} []
Kann mir damit vllt. jemand weiterhelfen?