@@ -0,0 +1,395 @@
+import json%0A%0Afrom flask import Response%0A%0A%0Adef unauthorised_exception(exception):%0A    return Response(%0A        response=json.dumps(%0A            %7B%0A                'status': 'error',%0A                'code': 401,%0A                'message': ('Authentication error. %5C%0A                            Invalid Authentication token.')%0A            %7D),%0A        status=401,%0A        mimetype='application/json')%0A

Update app/exceptions/auth.py