Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Vision AI API - /20220125/actions/analyzeDocument is giving 500 error

Accepted answer
45
Views
2
Comments
raban
raban Rank 1 - Community Starter

Hi Team,

We are using Vision AI API to analyze document, but it's giving 500 error, so need help in resolution of this error.

{  "compartmentId": "{{compartment_ocid}}",  "document": {    "namespaceName": "paas",    "bucketName": "nonprod-intg",    "objectName": "DocAI/abc.pdf",    "source": "OBJECT_STORAGE"  },  "features": [    {      "featureType": "TEXT_DETECTION"    },    {      "featureType": "DOCUMENT_CLASSIFICATION",      "maxResults": 2    },    {      "featureType": "LANGUAGE_CLASSIFICATION",      "maxResults": 2    },    {      "featureType": "KEY_VALUE_DETECTION"    },    {      "featureType": "TABLE_DETECTION"    }  ]}

Thanks,

Rahul

Best Answer

Answers

  • Hi,

    You should consider providing more information, more context, about your question. Keep in mind that what is probably obvious for you because you have been focusing on it for some time, is unknown to everybody else here in the forum.

    Starts by describing what product (and version) you were using (from where you did call the API), what you tried to do, how you did it, what did happen, what errors you got back. Screenshots often says more than thousand words.

    Finally, consider that people aren't going to invest their own time in solving something for you if you don't invest some time in asking your question with as many details as possible.

    If you weren't using an Oracle Analytics product when calling the API, then this is the wrong forum for the question, but based on the details you will provide you can be pointed in the right direction.