Fix valid youtube error
See original GitHub issueDescribe
When embedding a youtube video on a page we may get MISSING_EMBED_PERMISSION
error, which is not in the enum type here.
This results to the event being invalidated as well (schema). As discussed with @greg-el , there seems to be a mismatch with the error codes mapping here.
To Reproduce Probably by embedding a youtube video without embed permissions.
Expected behavior The event with the youtube error being valid.
Additional context The corresponding youtube schema may need to be patched as well.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Troubleshoot YouTube error messages - Android
There are many root causes of error messages. Many are out of YouTube's control, such as a bad internet connection or insufficient memory...
Read more >How to Fix "Invalid Response Received" YouTube Error?
If while watching or opening any video on # YouTube or searching for any video or while commenting on a video seeing the...
Read more >How To Fix YouTube Error "An Error Occurred. Please Try ...
This tutorial will hopefully resolve some errors you guys may be experiencing while trying to view YouTube videos. If you are on YouTube, ......
Read more >How to Fix Invalid File Format Youtube
Are you getting an " Invalid file format" error when uploading to YouTube ? This video shows you how to fix it if...
Read more >How to fix Youtube Error 'Your video title is invalid' when Save ...
When i try to edit the info & settings, that is video description, 'your video title is invalid ' message is showing.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeap that is Option 1 in a nutshell! (I might have messed up what changes are needed in each option)
All in all, we just change the mapping to fit the current schema.
Got it now! 💡 Thank you!
Ok, one more question: Isn’t the choice of strings ours? I mean, aren’t the error codes(numbers) the only thing we get from the youtube API? Or do we also get the strings (e.g.
INVALID_URL
) as message?What if we just change Map 1,
from:
to:
and keep only that (plus no schema change)?