I am writing a python bot that will send a message to the broadcast chat from my YouTube channel, but after launching an error appears:
<HTTPError 403 when requested https://youtube.googleapis.com/youtube/v3/liveChat/messages?part=id&liveChatId =(here is the chat id)_M&key=AIzaxxxx&alt=json returned "Referrer requests <empty> blocked". Details: "[{'message': 'Referrer requests <empty> are blocked.', 'domain': 'global', 'reason': 'prohibited'}]">
Chat ID not found. Please help me, what is the problem
I filled out my API under website restriction, the chat ID specified the correct one.