Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Upload picture to document information extraction via Custom JavaScript or SAP BTP Destin-CORS ERROR

chaudras
Explorer
0 Kudos
723

Hi,

I have already refered - https://community.sap.com/t5/technology-q-a/issue-with-sap-btp-destination-rest-api-integration-sap-... And  https://community.sap.com/t5/technology-q-a/upload-picture-to-document-information-extraction-via-cu...

I am unable to POST my Image/document to document information extraction ie https://aiservices-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1/document/job...

I am getting CORS error.

Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined

Please suggest which is the correct approch to do POST call though SAP Build apps to SAP Doc info extraction. 

3 REPLIES 3

chaudras
Explorer
0 Kudos
571

Can some one answer this?
Is it not possible to do POST call from SAP build apps to Doc Information extraction ?

asodha2
Explorer
0 Kudos
302

Hi .. Did you found any solution for this issue. or any other workaround for same.

Jagadeesh21
Explorer
0 Kudos
184

Hii @chaudras , @asodha2 

I have been waiting on this solution for 4 months, still no response from anyone.
One thing i Find intriguing though, i'm not getting any CORS error , i'm getting Bad Request. Can you please share the JS code or the POST Call Payload Please.........