Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'status': 'error',
'code': 'FileUploadFailed',
'title': 'File Upload Failed',
'message': ''
},
'expected_exception': jwplatform.errors.JWPlatformFileUploadFailedError
},
{
'http_status': 400,
'response': {
'status': 'error',
'code': 'FileSizeMissing',
'title': 'File Size Missing',
'message': ''
},
'expected_exception': jwplatform.errors.JWPlatformFileSizeMissingError
},
{
'http_status': 400,
'response': {
'status': 'error',
'code': 'FileSizeInvalid',
'title': 'File Size Invalid',
'message': ''
},
'expected_exception': jwplatform.errors.JWPlatformFileSizeInvalidError
},
{
'http_status': 500,
'response': {
'status': 'error',
'code': 'InternalError',