<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AGOL New Item error for ArcGIS Server web service - &amp;quot;The URL you provided is incorrect&amp;quot; in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/agol-new-item-error-for-arcgis-server-web-service/m-p/1258674#M50377</link>
    <description>&lt;P&gt;I am getting an unusual error while adding an ArcGIS Server web service URL using the "New Item" in ArcGIS Online. The services are working and visible from the Rest Service Directory while throwing this error while trying to add them as an Item to AGOL.&amp;nbsp; Is this likely caused by some server configuration settings in the ArcGIS Server hosting the services?&lt;/P&gt;&lt;P&gt;"The URL you provided is incorrect" is all that I get from AGOL and there is no hint as to the possible cause.&amp;nbsp; I could not find any similar error in this context on Google or in this forum.&lt;/P&gt;&lt;P&gt;Any lead to this issue is highly appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 20:36:01 GMT</pubDate>
    <dc:creator>HenokA</dc:creator>
    <dc:date>2023-02-15T20:36:01Z</dc:date>
    <item>
      <title>AGOL New Item error for ArcGIS Server web service - "The URL you provided is incorrect"</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-new-item-error-for-arcgis-server-web-service/m-p/1258674#M50377</link>
      <description>&lt;P&gt;I am getting an unusual error while adding an ArcGIS Server web service URL using the "New Item" in ArcGIS Online. The services are working and visible from the Rest Service Directory while throwing this error while trying to add them as an Item to AGOL.&amp;nbsp; Is this likely caused by some server configuration settings in the ArcGIS Server hosting the services?&lt;/P&gt;&lt;P&gt;"The URL you provided is incorrect" is all that I get from AGOL and there is no hint as to the possible cause.&amp;nbsp; I could not find any similar error in this context on Google or in this forum.&lt;/P&gt;&lt;P&gt;Any lead to this issue is highly appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 20:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-new-item-error-for-arcgis-server-web-service/m-p/1258674#M50377</guid>
      <dc:creator>HenokA</dc:creator>
      <dc:date>2023-02-15T20:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: AGOL New Item error for ArcGIS Server web service - "The URL you provided is incorrect"</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-new-item-error-for-arcgis-server-web-service/m-p/1259544#M50453</link>
      <description>&lt;P&gt;For anyone checking this . .&amp;nbsp;&lt;/P&gt;&lt;P&gt;this issue was resolved after checking DevTools that threw - CORS policy: No 'Access-Control-Allow-Origin'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this &lt;A href="https://enterprise.arcgis.com/en/server/10.9.1/administer/windows/restricting-cross-domain-requests-to-arcgis-server.htm" target="_self"&gt;ESRI documentation&lt;/A&gt;&amp;nbsp;was used to address the issue. And this &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-fix-cors-issues-when-consuming-ags-map/td-p/249785" target="_self"&gt;forum posting&lt;/A&gt; was quite useful in leading towards the solution.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 20:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-new-item-error-for-arcgis-server-web-service/m-p/1259544#M50453</guid>
      <dc:creator>HenokA</dc:creator>
      <dc:date>2023-02-17T20:44:23Z</dc:date>
    </item>
  </channel>
</rss>

