Note that there are some explanatory texts on larger screens.

plurals
  1. POTrouble accessing Blogger using UrlFetch
    text
    copied!<p>trying retrieve blog but return error:</p> <pre><code>[13-05-25 07:45:42:500 PDT] Exception: Request failed for https://www.googleapis.com/blogger/v3/users/self/blogs returned code 404. Server response: &lt;!DOCTYPE html&gt; &lt;html lang=en&gt; &lt;meta charset=utf-8&gt; &lt;meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"&gt; &lt;title&gt;Error 404 (Not Found)!!1&lt;/title&gt; &lt;style&gt; *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* &gt; body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}} &lt;/style&gt; &lt;a href=//www.google.com/&gt;&lt;img src=//www.google.com/images/errors/logo_sm.gif alt=Google&gt;&lt;/a&gt; &lt;p&gt;&lt;b&gt;404.&lt;/b&gt; &lt;ins&gt;That’s an error.&lt;/ins&gt; &lt;p&gt;The requested URL &lt;code&gt;/blogger/v3/users/self/blogs&lt;/code&gt; was not found on this server. &lt;ins&gt;That’s all we know.&lt;/ins&gt; </code></pre> <p>here my code :</p> <pre><code>function retrieveBlog(){ var access_token ="my acces token"; var options = { "headers" : { " Authorization " : access_token} }; try { var result = UrlFetchApp.fetch("https://www.googleapis.com/blogger/v3/users/self/blogs",options); Logger.log(result); } catch (e) { Logger.log(e); } } </code></pre> <p>can you tell me what iam wrong????</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload