Get recent videos from a channel without authentication

I’ve broke it again was working for a second now again it don’t display again

$client_id = '';
 $ch = curl_init('https://api.twitch.tv/helix/videos?user_id=whoever&first=50&sort=time&type=archive');
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, array(
		'Accept: application/vnd.twitchtv.v5+json',
            'Client-ID: ' . $client_id,
			'Authorization: Bearer '
        ));

        $r = curl_exec($ch);
        $i = curl_getinfo($ch);

        curl_close($ch);

        if ($i['http_code'] == 200) {
            $videos = json_decode($r);
			
            if (json_last_error() == JSON_ERROR_NONE) {
              echo 'success';
            } else {
                $error = 'An Error ocucred at Parsing the vidoes response';
            }
        } else {
            $error = 'An Error occured fetching the vidoes';
        }

ive removed my client id and Authorization: Bearer for this forum but the script does have it. ive been through the docs and honestly im stuck