Failed to set access_token as attribute