I work on a script to sort the videos on YouTube for me base on some filters. when I want to check the video ID if the video is embeddable via this URL: https://www.youtube.com/embed/DpAkSe_7TkI take an error which is this: An error occurred. Please try again later. (Playback ID: yH1CHa98bJaqhrOG)Learn More
or in some cases another error which is:Video unavailable, Watch on YouTube
I tried to check the API to sort the result base on region restriction but still I take videos which might be restricted in my region