"The given key was not present in the dictionary" When trying to download a video
See original GitHub issuevar videoId = "U4hMQtcKfQo";
var video = await client.GetVideoAsync(videoId);
Throws
The given key was not present in the dictionary
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at YoutubeExplode.YoutubeClient.<GetVideoAsync>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Solved: The given key was not present in the dictionary
It does occur after the Windows update, I have done some research and it seems like this is due to the Windows update...
Read more >The given key was not present in the dictionary.
During an excel operation I am getting the following error: "Exception : Error while exporting to PDF. Details: The given key was not...
Read more >The given Key was not present in the dictionary
Describes an issue that occurs when you run the Group Policy Modeling Wizard against a new Group Policy setting.
Read more >the given key is not present in the dictionary, Visual Studio 2019
This error results when you try adding images to the drawable folder in Xamarin black project. How to fix the error: the given...
Read more >The given key was not present in the dictionary. Which key?
The given key was not present in the dictionary. A better way would be: The given key '" + key. ToString() + "'...
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 Free
Top 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
@patrux do you have the same issue? 😃