Twitter api returning html response as error

    /*My code *
    $connection         = new TwitterOAuth(SOCIOMATIC_HFW_API_KEY, SOCIOMATIC_HFW_API_SECRET);
    $connection->setTimeouts(1000, 1000);
    
    $request_token      = $connection->oauth("oauth/request_token", array("oauth_callback" => 'env('TWITTER_CALLBACK_URL')'));

/* Response in html */
AbrahamTwitterOAuthTwitterOAuthException

Twitter / ?