Getting an error after i added api restrictions on youtube

HttpError: <HttpError 403 when requesting https://youtube.googleapis.com/youtube/v3/commentThreads?part=snippet&videoId=HIbzXaBdwZw&textFormat=plainText&maxResults=100&key=AIzaSyCXp_wq3kdp9T9R6_GqRk3O2dw_iGg9Paw&alt=json returned “Requests from referer are blocked.”. Details: “[{‘message’: ‘Requests from referer are blocked.’, ‘domain’: ‘global’, ‘reason’: ‘forbidden’}]”>

im getting this error

Hi,

That doesn’t appear to be a Render issue but something with how you’re making requests to that API.

A quick Google for "Requests from referer are blocked" youtube api brings up quite a few results and potential solutions for the same error message.

Alan