Slim Application Error

The application could not run because of the following error:

Details

Code: 4
Message: Expected status [201], actual status [422], URL [/repos/api-stack/api-stack/contents/data/linkedin/linkedin-posts-api-swagger.json]
File: /var/www/html/kin_lane/api/client/GitHubClientBase.php
Line: 351

Trace

#0 /var/www/html/kin_lane/api/client/GitHubClientBase.php(287): GitHubClientBase->parseResponse('/repos/api-stac...', 'HTTP/1.1 100 Co...', 'GitHubReadmeCon...', 201, false)
#1 /var/www/html/kin_lane/api/client/services/GitHubReposContents.php(81): GitHubClientBase->request('/repos/api-stac...', 'PUT', Array, 201, 'GitHubReadmeCon...')
#2 /var/www/html/kin_lane/api/api/methods/m-api-api_id-definitions-export-swagger-20.php(655): GitHubReposContents->createFile('api-stack', 'api-stack', 'data/linkedin/l...', 'Adding data/lin...', 'ewoJInN3YWdnZXI...', 'master')
#3 [internal function]: {closure}('bXY4KpyCXKaj45H...')
#4 /var/www/html/kin_lane/api/Slim/Router.php(200): call_user_func_array(Object(Closure), Array)
#5 /var/www/html/kin_lane/api/Slim/Slim.php(1218): Slim\Router->dispatch(Object(Slim\Route))
#6 /var/www/html/kin_lane/api/Slim/Middleware/Flash.php(86): Slim\Slim->call()
#7 /var/www/html/kin_lane/api/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call()
#8 /var/www/html/kin_lane/api/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#9 /var/www/html/kin_lane/api/Slim/Slim.php(1167): Slim\Middleware\PrettyExceptions->call()
#10 /var/www/html/kin_lane/api/api/index.php(81): Slim\Slim->run()
#11 {main}