<?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 Failed to upload service definition in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122843#M6876</link>
    <description>&lt;P&gt;When I try to code the process of publishing web layer, it counters some problems. I can publish it manually, but it alerts the 'ERROR 002901: Sharing related error during geo-processing (Unable to check if service exists. (webtest/Map))' when I ran my python script. It did finish the process of 'Stage Service', and generate the file with the end of '.sd'.&amp;nbsp;&amp;nbsp;Is there any mistakes related to my codes?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonHuang_0-1638775759184.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28856i94E8F92A3DBB586B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonHuang_0-1638775759184.png" alt="JasonHuang_0-1638775759184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 07:31:44 GMT</pubDate>
    <dc:creator>JasonHuang</dc:creator>
    <dc:date>2021-12-06T07:31:44Z</dc:date>
    <item>
      <title>Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122843#M6876</link>
      <description>&lt;P&gt;When I try to code the process of publishing web layer, it counters some problems. I can publish it manually, but it alerts the 'ERROR 002901: Sharing related error during geo-processing (Unable to check if service exists. (webtest/Map))' when I ran my python script. It did finish the process of 'Stage Service', and generate the file with the end of '.sd'.&amp;nbsp;&amp;nbsp;Is there any mistakes related to my codes?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonHuang_0-1638775759184.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28856i94E8F92A3DBB586B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonHuang_0-1638775759184.png" alt="JasonHuang_0-1638775759184.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 07:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122843#M6876</guid>
      <dc:creator>JasonHuang</dc:creator>
      <dc:date>2021-12-06T07:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122859#M6877</link>
      <description>&lt;P&gt;I found that the problem happened when I tried to upload service definition. There always be weird problems with arcpy api in this section. I can manually do this in geoprocessing tool but not with the same parameters for python code. (I am sure that the sd file is new for each uploading try)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonHuang_0-1638784329947.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28859i5F671F189D1DADF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonHuang_0-1638784329947.png" alt="JasonHuang_0-1638784329947.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonHuang_1-1638784341284.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/28860i40DCE6321AEC5887/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JasonHuang_1-1638784341284.png" alt="JasonHuang_1-1638784341284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 09:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122859#M6877</guid>
      <dc:creator>JasonHuang</dc:creator>
      <dc:date>2021-12-06T09:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122976#M6879</link>
      <description>&lt;P&gt;you have an extra space between the sharing.draft_summary =&amp;nbsp; service.&amp;nbsp; otherwise&amp;nbsp; I don't see anything from this example&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 16:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1122976#M6879</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2021-12-06T16:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1123046#M6880</link>
      <description>&lt;P&gt;A week ago I posted about the same problem with very similar code here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/uploadservicedefinition-gets-the-good-old-error/m-p/1121091#M63097" target="_blank"&gt;https://community.esri.com/t5/python-questions/uploadservicedefinition-gets-the-good-old-error/m-p/1121091#M63097&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I got no responses. I am hoping you get something. I will look at it again sometime today probably.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 17:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1123046#M6880</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-12-06T17:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1123229#M6881</link>
      <description>&lt;P&gt;I got it, here is some problems with the url name of portal and server. I have dealt with it !&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 02:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1123229#M6881</guid>
      <dc:creator>JasonHuang</dc:creator>
      <dc:date>2021-12-07T02:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1128489#M6939</link>
      <description>&lt;P&gt;I'm back looking at this again, thanks to you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/543363"&gt;@JasonHuang&lt;/a&gt;&amp;nbsp; I reexamined the setting you used for the server and found a combination that works for me. That in_server arg is absurdly complicated; you have to use different values based on the type of content being shared. Another painful learning moment for me. Maybe I can go answer my own question now!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 22:19:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1128489#M6939</guid>
      <dc:creator>Brian_Wilson</dc:creator>
      <dc:date>2021-12-22T22:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1128873#M6949</link>
      <description>&lt;P&gt;Glad to hear that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 01:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1128873#M6949</guid>
      <dc:creator>JasonHuang</dc:creator>
      <dc:date>2021-12-27T01:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to upload service definition</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1223186#M7926</link>
      <description>&lt;P&gt;Hello jason can u please post the solution with image file.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 07:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failed-to-upload-service-definition/m-p/1223186#M7926</guid>
      <dc:creator>geeblr</dc:creator>
      <dc:date>2022-10-19T07:01:37Z</dc:date>
    </item>
  </channel>
</rss>

