<?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 Re: Unable to get Twilio recording file via Workato HTTP action in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8613#M3614</link>
    <description>&lt;P&gt;gary1,&lt;/P&gt;&lt;P&gt;I used the following since these recordings are dual channel and got the same error message.:&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.twilio.com/2010-04-01/Accounts/ACf7bffe0d0ff5ad95892183c895dca950/Recordings/RE28337a19941282f297ad5df754064565.mp3?RequestedChannels=2" target="_blank"&gt;https://api.twilio.com/2010-04-01/Accounts/ACf7bffe0d0ff5ad95892183c895dca950/Recordings/RE28337a19941282f297ad5df754064565.mp3?RequestedChannels=2&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 14:52:40 GMT</pubDate>
    <dc:creator>JayMappus</dc:creator>
    <dc:date>2025-01-29T14:52:40Z</dc:date>
    <item>
      <title>Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8588#M3592</link>
      <description>&lt;P&gt;I'm trying to request a Twilio recording file using Workato's&amp;nbsp; HTTP request. But, I'm getting the following error:&lt;/P&gt;&lt;P&gt;400 Bad Request&lt;BR /&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;TwilioResponse&amp;gt;&amp;lt;RestException&amp;gt;&amp;lt;Code&amp;gt;20001&amp;lt;/Code&amp;gt;&amp;lt;Message&amp;gt;Bad request&amp;lt;/Message&amp;gt;&amp;lt;MoreInfo&amp;gt;&lt;A href="https://www.twilio.com/docs/errors/20001" target="_blank"&gt;https://www.twilio.com/docs/errors/20001&lt;/A&gt;&amp;lt;/MoreInfo&amp;gt;&amp;lt;Status&amp;gt;400&amp;lt;/Status&amp;gt;&amp;lt;/RestException&amp;gt;&amp;lt;/TwilioResponse&amp;gt;&lt;/P&gt;&lt;P&gt;Below is my request:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"request_name": "Request recording file",&lt;BR /&gt;"request": {&lt;BR /&gt;"method": "GET",&lt;BR /&gt;"content_type": "application/json",&lt;BR /&gt;"url": "&lt;A href="https://api.twilio.com/2010-04-01/Accounts/A_______________________0/Recordings/R_____________________________65" target="_blank"&gt;https://api.twilio.com/2010-04-01/Accounts/A_______________________0/Recordings/R_____________________________65&lt;/A&gt;"&lt;BR /&gt;},&lt;BR /&gt;"response": {&lt;BR /&gt;"output_type": "rawdata",&lt;BR /&gt;"ignore_http_errors": "false"&lt;BR /&gt;}&lt;BR /&gt;"wait_for_response": "false"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I've got the "Response content type" set to Binary and the Encoding to UTF-8. What am I missing?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 21:28:59 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8588#M3592</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2025-01-28T21:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8589#M3593</link>
      <description>&lt;P&gt;I'm not sure if the response is the problem. The 400 error is coming from Twilio, not from Workato, so it seems like the URL is bad.&lt;/P&gt;&lt;P&gt;Some thoughts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Are you sure it's GET and not POST?&lt;/LI&gt;&lt;LI&gt;What should the response be? JSON, XML, data?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 28 Jan 2025 22:42:57 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8589#M3593</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-01-28T22:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8590#M3594</link>
      <description>&lt;P&gt;Hi gary1. Good to "see" you once again. It is a GET from Twilio&amp;nbsp;&lt;A href="https://www.twilio.com/docs/voice/api/recording#mp3" target="_blank" rel="noopener"&gt;https://www.twilio.com/docs/voice/api/recording#mp3&lt;/A&gt;&amp;nbsp;&amp;nbsp;it says..&lt;/P&gt;&lt;P class=""&gt;Appending ".mp3" to the URI returns a binary MP3 audio file with mime-type type "audio/mpeg". For example:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;GET &lt;A href="https://api.twilio.com/2010-04-01/Accounts/ACXXXXX.../Recordings/RE557ce644e5ab84fa21cc21112e22c485.mp3" target="_blank" rel="noopener"&gt;https://api.twilio.com/2010-04-01/Accounts/ACXXXXX.../Recordings/RE557ce644e5ab84fa21cc21112e22c485.mp3&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I added the .mp3 but get the same error.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Jan 2025 04:49:54 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8590#M3594</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2025-01-29T04:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8591#M3595</link>
      <description>&lt;P&gt;Always happy to help!&lt;/P&gt;&lt;P&gt;I took a look at the documentation and the only thing that sticks out to me is the warning about audio channel availability. Try adding this param to your URL:&lt;/P&gt;&lt;P&gt;?RequestedChannels=1&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.twilio.com/2010-04-01/Accounts/AC../Recordings/RE...mp3?RequestedChannels=1" target="_blank"&gt;https://api.twilio.com/2010-04-01/Accounts/AC../Recordings/RE...mp3?RequestedChannels=1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a link the warning in the documentation. It reads very much like the issue you're having.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.twilio.com/docs/voice/api/recording#download-dual-channel-media-file:~:text=Attempting%20to%20download%20a%20dual%2Dchannel" target="_blank" rel="noopener"&gt;https://www.twilio.com/docs/voice/api/recording#download-dual-channel-media-file:~:text=Attempting%20to%20download%20a%20dual%2Dchannel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 05:10:13 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8591#M3595</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-01-29T05:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8613#M3614</link>
      <description>&lt;P&gt;gary1,&lt;/P&gt;&lt;P&gt;I used the following since these recordings are dual channel and got the same error message.:&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.twilio.com/2010-04-01/Accounts/ACf7bffe0d0ff5ad95892183c895dca950/Recordings/RE28337a19941282f297ad5df754064565.mp3?RequestedChannels=2" target="_blank"&gt;https://api.twilio.com/2010-04-01/Accounts/ACf7bffe0d0ff5ad95892183c895dca950/Recordings/RE28337a19941282f297ad5df754064565.mp3?RequestedChannels=2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 14:52:40 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8613#M3614</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2025-01-29T14:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8644#M3623</link>
      <description>&lt;P&gt;My issue was that I didn't include in the Request Header the Header name = Content-Type and Value = audio/mpeg.&amp;nbsp; Dumb.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, for others to get this to work using the HTTP action I used the following settings for our recording which are dual channel:&lt;/P&gt;&lt;P&gt;Request&lt;/P&gt;&lt;P&gt;&amp;nbsp; Method = Get&lt;/P&gt;&lt;P&gt;&amp;nbsp; Request URL =&amp;nbsp;&lt;SPAN class=""&gt;https:&lt;/SPAN&gt;&lt;SPAN class=""&gt;//&lt;/SPAN&gt;&lt;SPAN class=""&gt;api&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;twilio&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;com&lt;/SPAN&gt;&lt;SPAN class=""&gt;/2010-04-01/&lt;/SPAN&gt;&lt;SPAN class=""&gt;Accounts&lt;/SPAN&gt;&lt;SPAN class=""&gt;/{accountID}/&lt;/SPAN&gt;&lt;SPAN class=""&gt;Recordings&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;{mediaID}&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;mp3&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter = RequestedChannels: 2&lt;/P&gt;&lt;P&gt;Request Header = Content-Type: audio/mpeg&lt;/P&gt;&lt;P&gt;Response&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response content type: Binary&lt;/P&gt;&lt;P&gt;Encoding: UTF-8&lt;/P&gt;&lt;P&gt;Hope this helps&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 15:04:25 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8644#M3623</guid>
      <dc:creator>JayMappus</dc:creator>
      <dc:date>2025-01-30T15:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Twilio recording file via Workato HTTP action</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8645#M3624</link>
      <description>&lt;P&gt;Oof, that is annoying. I've run into some case-sensitive headers in the past -- the worst! Glad you cracked it.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 16:46:15 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/unable-to-get-twilio-recording-file-via-workato-http-action/m-p/8645#M3624</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-01-30T16:46:15Z</dc:date>
    </item>
  </channel>
</rss>

