{"id":4535,"date":"2017-12-26T01:07:00","date_gmt":"2017-12-26T00:07:00","guid":{"rendered":"http:\/\/borncity.com\/win\/?p=4535"},"modified":"2017-12-18T09:52:54","modified_gmt":"2017-12-18T08:52:54","slug":"youtube-pages-returns-error-400-in-google-chrome","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2017\/12\/26\/youtube-pages-returns-error-400-in-google-chrome\/","title":{"rendered":"YouTube pages returns Error 400 in Google Chrome"},"content":{"rendered":"<p><img decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2015\/01\/Chrome.jpg\" align=\"left\">[<a href=\"http:\/\/www.borncity.com\/blog\/2017\/12\/18\/google-chrome-liefert-error-400-bei-youtube\/\" target=\"_blank\">German<\/a>]Recently I stumbled upon a strange error. My Google Chrome browser suddenly refuse to play YouTube videos. I got an error code 400. Here are a few hints how to solve this issue. <\/p>\n<p><!--more--><\/p>\n<h2>Description of the error<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/ssl-vg03.met.vgwort.de\/na\/7f69f6921db641c0a098be4365bc378b\" width=\"1\" height=\"1\">I've created some blog posts during the day and I've opened a lot of YouTube pages, to check some videos. Everything was ok. Then I interrupted my work and invoked Windows 7 power saving mode. Later on I decided to continue my work. But during an attempt, to play a YouTube video, I received the following error page.<\/p>\n<p><img decoding=\"async\" title=\"Google Chrome Error 400\" alt=\"Google Chrome Error 400\" src=\"https:\/\/i.imgur.com\/8xdSVb7.jpg\"><\/p>\n<blockquote>\n<p>400. That's an error.<\/p>\n<p>Your client has issued a malformed or illegal request. That's all we know.<\/p>\n<\/blockquote>\n<p>My attempt, to show a blog post with an integrated YouTube video, the section with this video was blank. No error message are displayed. Then I checked the situation with Slimjet portable. This browser was able to play the videos, so Windows could not be the cause. <\/p>\n<h2>How to fix error 400?<\/h2>\n<p>In a first step I tried the usual approaches: I terminated one of the numerous Google Chrome tasks in Windows Task Manager. Google Chrome then terminated the remaining processes and was closed. But after rebooting the browser, I was still unable to display videos.&nbsp; <\/p>\n<p>Then I tried to delete the browser data in cache (without cookies), but wasn't successful. At this point I searched the Internet and came across many hits, one within the Google Chrome product forum (<a href=\"https:\/\/productforums.google.com\/forum\/#!topic\/chrome\/lBMxZwhatjw\" target=\"_blank\">see<\/a>). The article has been viewed more than 10.000 times \u2013 it seems, that this issues is wide spread. One user mentioned, that he found a way, to delete the cookies for Youtube.com in browser cache. Here are the steps provides within the Chrome forum:<\/p>\n<p>1. Use the cookies remove function in Google Chrome Settings. Therefor go to <em>Settings &gt; [Advance] &gt; Privacy and security &gt; Content settings<\/em>  <\/p>\n<p><img decoding=\"async\" title=\"Chrome Privacy and security settings\" alt=\"Chrome Privacy and security settings\" src=\"https:\/\/i.imgur.com\/2ckQCXR.jpg\"><\/p>\n<p>2. Then expand the <em>Cookies<\/em> entry within <em>Content settings<\/em>  <\/p>\n<p><img decoding=\"async\" title=\"Chrome browser: show Cookies\" alt=\"Chrome browser: show Cookies\" src=\"https:\/\/i.imgur.com\/bu497cs.jpg\"><\/p>\n<p>3. Enter <em>youtube.com <\/em>into the search box shown below and delete all YouTube cookies found within the browser. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Chrome browser: delete Cookies\" alt=\"Chrome browser: delete Cookies\" src=\"https:\/\/i.imgur.com\/EWe4DGD.jpg\" width=\"605\" height=\"700\"><\/p>\n<p>A bit more simple may be to type <em>chrome: \/\/ settings\/siteData <\/em>into the browser's address bar and search for YouTube (see <a href=\"https:\/\/www.reddit.com\/r\/youtube\/comments\/6h59hh\/400_thats_an_error_on_every_youtube_page\/\" target=\"_blank\">here<\/a>). Then delete all YouTube cookie entries and try to view a YouTube video. <\/p>\n<p>In my case, the settings tab shown within chrome didn't work well. Suddenly I didn't see any cookies, and the tab was dead. After closing the tab, I was able to view YouTube videos again for half an hour. Then the incident came back, so I deleted all cookies stored within the case. Then the issue has been fixed. <\/p>\n<h2>Too many Cookies?<\/h2>\n<p>After publishing the blog post, another German blog reader came back with a similar observation in Firefox. He wrote:<\/p>\n<blockquote>\n<p>I know similar things from Firefox \u2013 using my website with WordPress and using the plugin Wordfence Security. About every half year I can't access my WP login page anymore with a similar error message.<\/p>\n<p>If I then look in Firefox (currently 52. x ESR) under Settings &#8211; Privacy policy &#8211; Cookies and search for for my affected domain, then I find a lot of cookies there starting with wf_loginalerted_. At the moment I have 6 entries and still no problem, but when the error message appears, there are more than 20 cookies. <\/p>\n<p>Since all associated Cookies are sent with the request of the web page, the amount of data becomes too large. Obviously the HTTP header increased in such a way that it becomes sometime too big for the addressed web server. After deleting these cookies, it works again for a longer period of time. I don't have to delete all cookies of the domain but only enough of these unnecessary remnants of previous sessions.<\/p>\n<\/blockquote>\n<p>Maybe it's an explanation, why I run into this issue. I've already opened some YouTube tabs and send Windows 7 into energy saving mode. Then I re-invoked the machine at a later time. It seems, that the browser's cookies has been damaged during this operation. That remembers me, that I have some issues displaying some Microsoft Answers forum pages. I receive an error in Chrome, that the page isn't viewable. Testing it with other browsers shows me always, that the pages are reachable. After deleting the browser's Cookie cache, I was able to reach the MS answers forum. <\/p>\n<p><strong>Similar articles<\/strong><br \/><a href=\"https:\/\/borncity.com\/win\/2017\/05\/31\/chrome-bug-allows-secret-audio-video-recording\/\">Chrome bug allows secret audio-\/video recording<\/a><br \/><a href=\"https:\/\/borncity.com\/win\/2013\/03\/04\/google-chrome-lags-and-freezes\/\">Google Chrome lags and freezes<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]Recently I stumbled upon a strange error. My Google Chrome browser suddenly refuse to play YouTube videos. I got an error code 400. Here are a few hints how to solve this issue.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[872,463],"tags":[4,33,1201],"class_list":["post-4535","post","type-post","status-publish","format-standard","hentry","category-browser","category-issue","tag-error","tag-google-chrome","tag-youtube"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/4535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=4535"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/4535\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=4535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=4535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=4535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}