Skip to Content

Image Feature Extraction API Error with PostMan (400 Bad Request)

Hi,

I try to test the ML Service for Image Feature Extraction

When I try with Postman, I get a 400 Bad Request Error :-/

{
    "_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"
}

Here is the postman request

https://www.getpostman.com/collections/a418129154e81746548b

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 15, 2017 at 12:28 AM

    Hello Markus Reich

    Did you resolve this? I faced a problem with the ML API as well and I'm looking for a resolution.

    https://answers.sap.com/questions/307248/need-python-3-code-snippet-to-call-sap-leonardo-ml.html

    Thank you

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 22, 2017 at 09:44 AM

    Hi Markus Reich,

    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?

    Regards,
    Add comment
    10|10000 characters needed characters exceeded