API Key was not passed to internal method