def METHOD_NAME():
    from openai import APIError
    responses.add(url="https://api.openai.com/v1/engines/davinci/completions",
                  method="POST",
                  status=500,
                  body="Incorrect API key provided: InvalidKey. You can find your API key at https://beta.openai.com.")
    request_data = GPTRequest(api_key="InvalidKey",
                              data=["Are there any more test questions?"], num_responses=2)
    gpt3_generator = GPT3ParaphraseGenerator(request_data=request_data)
    with pytest.raises(APIError, match=r'.*Incorrect API key provided: InvalidKey. You can find your API key at https://beta.openai.com..*'):
        gpt3_generator.paraphrases()