<?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>Can&amp;#39;t call an integration with a file on its body</title><link>https://community.appian.com/discussions/f/integrations/35076/can-t-call-an-integration-with-a-file-on-its-body</link><description>I am trying to call an integration that needs to pass a file from appian through its body. 
 
 
 However, it&amp;#39;s not being acceptable, cause 
 
 As you can see, the connection endpoint is expecting the file parameter to be of type File. 
 An information</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135904?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 15:52:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:91f44727-b8d4-4d0b-87a8-5155c6608dfb</guid><dc:creator>Silas. B. Ferreira</dc:creator><description>&lt;p&gt;It worked as expected.&lt;/p&gt;
&lt;p&gt;Special thanks goes to Mr.&amp;nbsp;&lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;and Mr.&amp;nbsp;&lt;a href="/members/yogeshc0701"&gt;yogeshc0701&lt;/a&gt;&amp;nbsp;. Thank you all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135898?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 14:49:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2333e884-ea1b-451e-9c48-de73f0225276</guid><dc:creator>yogeshc0701</dc:creator><description>&lt;p&gt;Looking at the postman screenshot, it seems like the endpoint accepts form-data. Have you tried multiple form-data in request body ?&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1716821330965v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135893?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 14:25:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:89897952-c1ac-4f6d-91b5-d637377cb007</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Looking at the documentation and your config, I see some variations&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1716819921956v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135892?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 13:58:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d508942-46c3-49cc-90b1-453fbfb7f87e</guid><dc:creator>Silas. B. Ferreira</dc:creator><description>&lt;p&gt;Thanks, however I am getting a timeout.&lt;/p&gt;
&lt;p&gt;if I comment request body, it works as expected.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1716818334209v1.png" /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;curl --location &amp;#39;my-url/2 \
--header &amp;#39;accept: */*&amp;#39; \
--header &amp;#39;Authorization: mytoken&amp;#39; \
--form &amp;#39;file=@&amp;quot;postman-cloud:///1ef19fb2-8480-4930-878f-79bbbb7c45e5&amp;quot;&amp;#39;&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;my issue on appian is still the parameter file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135890?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 13:39:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dca52e01-55c7-4d2f-b73f-4f9fe1ce7b39</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You define a JSON structure that contains the URL to the file as the content. So, you are sending that URL to the other system.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/Integration_Object.html#sending-a-binary-document"&gt;https://docs.appian.com/suite/help/24.2/Integration_Object.html#sending-a-binary-document&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135887?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 13:30:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03eac06d-5479-4c90-ad15-e0c0919ff429</guid><dc:creator>Silas. B. Ferreira</dc:creator><description>&lt;p&gt;My question is simply: how to pass an user&amp;#39;s uploaded file into an external system endpoint&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135885?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 13:19:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd3930e8-e48f-4903-995b-e895c76231f1</guid><dc:creator>Silas. B. Ferreira</dc:creator><description>&lt;p&gt;Sorry, do you have any docs on what you said? Because it is still not very clear for me&amp;nbsp;what to do about&amp;nbsp;downloading the file into Appian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't call an integration with a file on it's body</title><link>https://community.appian.com/thread/135838?ContentTypeID=1</link><pubDate>Sat, 25 May 2024 06:10:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81caa363-2370-4118-b6a2-cf5932b792a9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;So you want to send the file from Appian to that other system, correct?&lt;/p&gt;
&lt;p&gt;You cannot just pass some URL somewhere. You first need to download the file into Appian before sending it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>