I created a lambda function that returns the following:
except Exception as e: excecption_dict = { \'errorStatusCode\':400, \'ID\': json.