try removing endpoint_key