Select to view content in your preferred language

Very simple REST API to arcgisonline  not working

3726
1
01-22-2014 06:45 AM
EkaitzHernandez
Emerging Contributor
Hi All!

This request is not working:

http://www.arcgis.com/sharing/rest/community/groups/ad08050c3ada4be0a1a845251dcdb8c1

What is happening?

I receive a html code in the response:

[ATTACH=CONFIG]30712[/ATTACH]

[HTML]
<html>
   <head>
      <meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/>
      <title>ArcGIS Portal Directory</title>
      <link type="text/css" rel="stylesheet" href="https://community.esri.com/sharing/rest/files/gw.css"/>
   </head>
   <body>
      <br/>
      <div class="gwDiv">
         <table width="100%" class="navTable">
            <tr>
               <td class="breadcrumbs">ArcGIS Portal Directory</td>
            </tr>
         </table>
         <br/>
         <br/>
         <b>
            <a href="https://community.esri.com/apidocs/rest">API Reference</a>
         </b>
         <table>
            <tr valign="top">
               <td/>
            </tr>
         </table>
      </div>
   </body>
</html>
[/HTML]

Thank you!
0 Kudos
1 Reply
Noah-Sager
Esri Regular Contributor
Hi Ekaitz,

When I sign-in to ArcGIS Online and try to access the item, I get this error:

[ATTACH=CONFIG]30713[/ATTACH]

I think the issue is that the item is not shared or publicly accessible. Please check your settings.

Is this a webmap or a web application? Can you view it without signing-in to ArcGIS Online?

If I add "?f=json" to the end of your URL, I see this:

[ATTACH=CONFIG]30714[/ATTACH]

It seems to be accessible to the public, but I still feel there is something not working with it if I cannot access it either. After checking your settings, I would also try publishing the item again.

-Noah
0 Kudos