I'm tying to build an app in SAP Build apps to capture picture of invoice and upload it to document information extraction.
To upload image to document information extraction I used custom JavaScript and its throwing the following CORS error:

Do we have a fix for this or any other way to upload image to document information extraction?