import json


def unauthorized(*args):
    """ Mock requests to Misfit with Unauthorized error: 401 """
    json_content = {'code': 401, 'message': 'Invalid Access Token'}
    return {'status_code': 401, 'content': json.dumps(json_content)}