<?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: API Error congnitive service in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-Error-congnitive-service/m-p/764913#M20338</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all the cognitive api which you are using is&amp;nbsp;&lt;STRONG&gt;deprecated &lt;/STRONG&gt;see the reference below&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v2-0-reference" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v2-0-reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the new below&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-reference" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Translator Text API v3.0&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to achieve you request you need to call the below API as POST and not GET method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&amp;amp;to=de&amp;amp;to=it&amp;amp;to=ja&amp;amp;to=th" target="_blank"&gt;https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&amp;amp;to=de&amp;amp;to=it&amp;amp;to=ja&amp;amp;to=th&lt;/A&gt;&lt;/P&gt;&lt;P&gt;along with the Headers as&amp;nbsp;&lt;STRONG&gt;Ocp-Apim-Subscription-Key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the sample C# code&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/cognitive-services/Translator/quickstart-translate?pivots=programming-language-csharp" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/cognitive-services/Translator/quickstart-translate?pivots=programming-language-csharp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer &lt;A href="https://blog.crossjoin.co.uk/2014/04/19/web-services-and-post-requests-in-power-query/" target="_blank" rel="noopener"&gt;here&lt;/A&gt; on how to call a Post Method from Power Query&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 07:17:09 GMT</pubDate>
    <dc:creator>Jayendran</dc:creator>
    <dc:date>2019-08-13T07:17:09Z</dc:date>
    <item>
      <title>API Error congnitive service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Error-congnitive-service/m-p/764516#M20332</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am trying to call congnitive service from Power BI but I am getting the following the error;&lt;/P&gt;&lt;P&gt;DataSource.Error: Web.Contents failed to get contents from &lt;A href="https://api.cognitive.microsoft.com/V2/Http.svc/Translate?text=%09Bottle%09&amp;amp;to=%20Fr(404" target="_blank" rel="noopener"&gt;https://api.cognitive.microsoft.com/V2/Http.svc/Translate?text=%09Bottle%09&amp;amp;to=%20Fr(404&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Resource Not Found&lt;BR /&gt;Details:&lt;BR /&gt;DataSourceKind=Web&lt;BR /&gt;DataSourcePath=&lt;A href="https://api.cognitive.microsoft.com/V2/Http.svc/Translate" target="_blank" rel="noopener"&gt;https://api.cognitive.microsoft.com/V2/Http.svc/Translate&lt;/A&gt;&lt;BR /&gt;Url=&lt;A href="https://api.cognitive.microsoft.com/V2/Http.svc/Translate?text=%09Bottle%09&amp;amp;to=%20Fr" target="_blank" rel="noopener"&gt;https://api.cognitive.microsoft.com/V2/Http.svc/Translate?text=%09Bottle%09&amp;amp;to=%20Fr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am trying to convert the text in french by using a custom column, please can you advise. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 19:20:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Error-congnitive-service/m-p/764516#M20332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-12T19:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: API Error congnitive service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Error-congnitive-service/m-p/764913#M20338</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all the cognitive api which you are using is&amp;nbsp;&lt;STRONG&gt;deprecated &lt;/STRONG&gt;see the reference below&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v2-0-reference" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v2-0-reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the new below&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-reference" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Translator Text API v3.0&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to achieve you request you need to call the below API as POST and not GET method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&amp;amp;to=de&amp;amp;to=it&amp;amp;to=ja&amp;amp;to=th" target="_blank"&gt;https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&amp;amp;to=de&amp;amp;to=it&amp;amp;to=ja&amp;amp;to=th&lt;/A&gt;&lt;/P&gt;&lt;P&gt;along with the Headers as&amp;nbsp;&lt;STRONG&gt;Ocp-Apim-Subscription-Key&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the sample C# code&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/cognitive-services/Translator/quickstart-translate?pivots=programming-language-csharp" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/cognitive-services/Translator/quickstart-translate?pivots=programming-language-csharp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer &lt;A href="https://blog.crossjoin.co.uk/2014/04/19/web-services-and-post-requests-in-power-query/" target="_blank" rel="noopener"&gt;here&lt;/A&gt; on how to call a Post Method from Power Query&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 07:17:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Error-congnitive-service/m-p/764913#M20338</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-08-13T07:17:09Z</dc:date>
    </item>
  </channel>
</rss>

