<?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: How to fix Invalid content-type error message while using API in blueprism in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59702#M13301</link>
    <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;You are right I missed on the content-type spell. It is working now thank you!:)​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Gote&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Nov 2021 16:19:00 GMT</pubDate>
    <dc:creator>NehaGote</dc:creator>
    <dc:date>2021-11-15T16:19:00Z</dc:date>
    <item>
      <title>How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59696#M13295</link>
      <description>Hi,&lt;BR /&gt;I am using put method of service now API. I am passing the sys id of ctask. I have setup common header content type as &lt;SPAN style="font-family: Calibri; font-size: 11pt;"&gt;&lt;SPAN style="font-family: Calibri; font-size: 11pt;"&gt;application/json. Getting the below error&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;BR /&gt;ERROR: Internal : Unexpected error Error during Web API HTTP Request&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;HTTP Status Code: 415&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;HTTP Response Content: {"error":{"detail":null,"message":"Invalid content-type. Supported request media types for this service are: [application/json, application/xml, text/xml]"},"status":"failure"}&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="30473.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/30603iCDBEB4172F54D1F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="30473.png" alt="30473.png" /&gt;&lt;/span&gt;&lt;BR /&gt;In closectask action I am directly passing the sys ID value. Do I have to change the format of sys id to json before passing it?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Gote&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 11:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59696#M13295</guid>
      <dc:creator>NehaGote</dc:creator>
      <dc:date>2021-11-15T11:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59697#M13296</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/16121"&gt;@NehaGote&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;It looks like you're creating your own Web API implementation for the Service Now API. Have you tried any of the existing Web APIs for Service Now available on the &lt;A href="https://digitalexchange.blueprism.com/dx/search?locales=en&amp;amp;keyword=ServiceNow&amp;amp;page=1" target="_blank" rel="noopener"&gt;Digital Exchange&lt;/A&gt;?&lt;BR /&gt;&lt;BR /&gt;Can you share the definition of your Web API service? Does your header definition look like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="30448.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/30577i490C4B8238834F35/image-size/large?v=v2&amp;amp;px=999" role="button" title="30448.png" alt="30448.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 14:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59697#M13296</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-11-15T14:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59698#M13297</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Nopes I am not using it from digital exchange. Below is header definition&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="30450.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/30576iFDDA6686B41D97D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="30450.png" alt="30450.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Below is the closectask definition&lt;BR /&gt;&lt;BR /&gt;/api/now/table/change_task/[sys_id]?sysparm_fields=number,sys_id,due_date,state,sys_id,u_automation_initiator,change_request,assignment_group,short_description,work_notes,opened_by&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Gote&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 14:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59698#M13297</guid>
      <dc:creator>NehaGote</dc:creator>
      <dc:date>2021-11-15T14:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59699#M13298</link>
      <description>Verify that your header definition matches what I've shown above and that there isn't an extra white space before or after the header name or value.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 14:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59699#M13298</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-11-15T14:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59700#M13299</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;I verified &lt;SPAN&gt;header definition &lt;/SPAN&gt;no luck with it still&amp;nbsp; getting the same error msg​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Gote&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 14:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59700#M13299</guid>
      <dc:creator>NehaGote</dc:creator>
      <dc:date>2021-11-15T14:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59701#M13300</link>
      <description>The header name in your screenshot shows &lt;STRONG&gt;Contect-Type&lt;/STRONG&gt;. It should be &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Content-Type&lt;/STRONG&gt;&lt;/SPAN&gt;. Notice the lower case "c" in yours. That should be a lower case "n".&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 14:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59701#M13300</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-11-15T14:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to fix Invalid content-type error message while using API in blueprism</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59702#M13301</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;You are right I missed on the content-type spell. It is working now thank you!:)​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Gote&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Nov 2021 16:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-fix-Invalid-content-type-error-message-while-using-API-in/m-p/59702#M13301</guid>
      <dc:creator>NehaGote</dc:creator>
      <dc:date>2021-11-15T16:19:00Z</dc:date>
    </item>
  </channel>
</rss>

