<?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 Image Feature Extraction API Error with PostMan (400 Bad Request) in Artificial Intelligence Forum</title>
    <link>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488424#M44</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I try to test the ML Service for Image Feature Extraction&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;When I try with Postman, I get a 400 Bad Request Error &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;{
    "_id": "6a02b7e0-b503-4c86-a4a4-3d1b1a2832a0",
    "error": "Invalid request",
    "error_description": "Service requires a list of (zipped) images.",
    "processed_time": "Fri, 14 Jul 2017 07:15:32 GMT",
    "request": {
        "files": null,
        "options": {},
        "tenantName": "imgclassif-tech-user",
        "texts": []
    },
    "status": "FAILED",
    "status_code": 400,
    "tenantName": "imgclassif-tech-user"
}&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Here is the postman request&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://www.getpostman.com/collections/a418129154e81746548b"&gt;https://www.getpostman.com/collections/a418129154e81746548b&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 07:22:37 GMT</pubDate>
    <dc:creator>markus_reich</dc:creator>
    <dc:date>2017-07-14T07:22:37Z</dc:date>
    <item>
      <title>Image Feature Extraction API Error with PostMan (400 Bad Request)</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488424#M44</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I try to test the ML Service for Image Feature Extraction&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;When I try with Postman, I get a 400 Bad Request Error &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;{
    "_id": "6a02b7e0-b503-4c86-a4a4-3d1b1a2832a0",
    "error": "Invalid request",
    "error_description": "Service requires a list of (zipped) images.",
    "processed_time": "Fri, 14 Jul 2017 07:15:32 GMT",
    "request": {
        "files": null,
        "options": {},
        "tenantName": "imgclassif-tech-user",
        "texts": []
    },
    "status": "FAILED",
    "status_code": 400,
    "tenantName": "imgclassif-tech-user"
}&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Here is the postman request&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://www.getpostman.com/collections/a418129154e81746548b"&gt;https://www.getpostman.com/collections/a418129154e81746548b&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 07:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488424#M44</guid>
      <dc:creator>markus_reich</dc:creator>
      <dc:date>2017-07-14T07:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Image Feature Extraction API Error with PostMan (400 Bad Request)</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488425#M45</link>
      <description>&lt;P&gt;Hello &lt;A href="https://answers.sap.com/users/57757/markusreich.html"&gt;Markus Reich&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;Did you resolve this? I faced a problem with the ML API as well and I'm looking for a resolution.&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/questions/307248/need-python-3-code-snippet-to-call-sap-leonardo-ml.html" target="test_blank"&gt;https://answers.sap.com/questions/307248/need-python-3-code-snippet-to-call-sap-leonardo-ml.html&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt; Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 00:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488425#M45</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-09-15T00:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Image Feature Extraction API Error with PostMan (400 Bad Request)</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488426#M46</link>
      <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/57757/markusreich.html"&gt;Markus Reich&lt;/A&gt;,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;In help document of SAP, Image Feature Extraction is capable of extracting feature vectors for any given image which can be used for comparison, informational retrieval, clustering or further processing. When I try to run the API, I get a lot of feature_vector data, do you know how to use them to compare between different files?&lt;/P&gt;Regards,</description>
      <pubDate>Wed, 22 Nov 2017 09:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488426#M46</guid>
      <dc:creator>former_member534160</dc:creator>
      <dc:date>2017-11-22T09:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Image Feature Extraction API Error with PostMan (400 Bad Request)</title>
      <link>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488427#M47</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;To call the Image Feature Extraction API with Postman, simply do as below:&lt;BR /&gt;1.Only add APIKey to the headers. No other header needed.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/240393-imageclassification-postman-01.png" /&gt;&lt;/P&gt;&lt;P&gt;2.In the body, select form-data, add a key named "files" as file type, and then choose your target images&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/240394-imageclassification-postman-02.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 05:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/artificial-intelligence-forum/image-feature-extraction-api-error-with-postman-400-bad-request/m-p/488427#M47</guid>
      <dc:creator>YatseaLi</dc:creator>
      <dc:date>2018-11-13T05:40:07Z</dc:date>
    </item>
  </channel>
</rss>

