<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>API POST Request Fails: APNX-1-4552-028</title><link>https://community.appian.com/discussions/f/general/30607/api-post-request-fails-apnx-1-4552-028</link><description>I&amp;#39;m attempting to use the Import endpoint of the Appian Deployment REST API v2. However, it continues to return the error listed below. I suspect that the error might be with the permissions with the service account associated with the API Key but cannot</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: API POST Request Fails: APNX-1-4552-028</title><link>https://community.appian.com/thread/121746?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 18:28:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3c0011e5-c093-4963-8099-c6c953918ec2</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yeah&amp;nbsp;the documentation is always for the latest version of Appian. If you want to view documentation for a certain version, you can always change the version dropdown at the top.&lt;/p&gt;
&lt;p&gt;We generally don&amp;#39;t include &amp;quot;x feature was added in y version&amp;quot; in the documentation because it would quickly become difficult to manage with a new release every quarter &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: API POST Request Fails: APNX-1-4552-028</title><link>https://community.appian.com/thread/121738?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 15:48:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a859ea91-763a-485b-aed5-666515ff3754</guid><dc:creator>s23</dc:creator><description>&lt;p&gt;I never found a complete solution to this, but it looks like using v1 (i.e. https://${{ secrets.APPIAN_DOMAIN }}/suite/deployment-management/v1/deployments) of the API resolves this error. &lt;span style="text-decoration:line-through;"&gt;It&amp;#39;s unclear why v2 does not work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The API v2 was not introduced until 23.3. The current version of my Appian Cloud is 23.2. A point that should be made very clear in the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: API POST Request Fails: APNX-1-4552-028</title><link>https://community.appian.com/thread/121692?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 15:29:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d56b66e8-e9a5-4dc4-98d0-7caabe6b8bae</guid><dc:creator>s23</dc:creator><description>&lt;p&gt;I turned it on, but it&amp;#39;s still returning the same error. I&amp;#39;ll add my API request below. Perhaps, there is an issue there.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;curl --location --request \
POST &amp;#39;https://${{ secrets.APPIAN_DOMAIN }}/suite/deployment-management/v2/deployments&amp;#39; \
--header &amp;#39;Appian-API-Key: ${{ secrets.APPIAN_API_KEY }}&amp;#39; \
--header &amp;#39;Action-Type: import&amp;#39; \
--form json=&amp;#39;{
    &amp;quot;name&amp;quot;: &amp;quot;Test Automation - Import Package&amp;quot;,
    &amp;quot;packageFileName&amp;quot;: &amp;quot;Test.zip&amp;quot; 
}&amp;#39; \
--form packageFileName=@&amp;#39;/packages/Test.zip&amp;#39;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: API POST Request Fails: APNX-1-4552-028</title><link>https://community.appian.com/thread/121690?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 14:48:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93ac0c08-8d04-454a-9ff9-430bda674439</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Have you enabled external deployments in the Admin Console? That sounds like the likely culprit here:&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Appian_Administration_Console.html#external-deployments"&gt;docs.appian.com/.../Appian_Administration_Console.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>