in source/exceptions.py [0:0]
def __init__(self, *args, **kwargs):
super().__init__(*args)
self.status_code = 400
self.s3_error_code = 'UnexpectedContent'
self.error_message = "Formats other than jpg, jpeg, and png are not supported"