Slim Application Error

The application could not run because of the following error:

Details

Code: 512
Message: S3::putObject(): [InternalError] We encountered an internal error. Please try again.
File: /var/www/html/system/class-amazon-s3.php
Line: 222

Trace

#0 [internal function]: Slim\Slim::handleErrors(512, 'S3::putObject()...', '/var/www/html/s...', 222, Array)
#1 /var/www/html/system/class-amazon-s3.php(222): trigger_error('S3::putObject()...', 512)
#2 /var/www/html/system/class-amazon-s3.php(534): S3::__triggerError('S3::putObject()...', '/var/www/html/s...', 534)
#3 /var/www/html/system/class-amazon-s3.php(554): S3::putObject(Array, 'kinlane-product...', 'kin-lane/stack/...', 'public-read', Array, NULL)
#4 /var/www/html/kin_lane/api/api/methods/m-api-api_id-definitions-export-openapi-spec-20.php(570): S3::putObjectFile('/var/www/html/k...', 'kinlane-product...', 'kin-lane/stack/...', 'public-read')
#5 [internal function]: {closure}('yNoJUg116Bf7qZT...')
#6 /var/www/html/kin_lane/master/Slim/Router.php(200): call_user_func_array(Object(Closure), Array)
#7 /var/www/html/kin_lane/master/Slim/Slim.php(1218): Slim\Router->dispatch(Object(Slim\Route))
#8 /var/www/html/kin_lane/master/Slim/Middleware/Flash.php(86): Slim\Slim->call()
#9 /var/www/html/kin_lane/master/Slim/Middleware/MethodOverride.php(94): Slim\Middleware\Flash->call()
#10 /var/www/html/kin_lane/master/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#11 /var/www/html/kin_lane/master/Slim/Slim.php(1167): Slim\Middleware\PrettyExceptions->call()
#12 /var/www/html/kin_lane/api/api/index.php(85): Slim\Slim->run()
#13 {main}