Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to update the standard error message after file is scanned and found to be infected?

Sun-EMay 10 2022

Hi,
APEX Version 21.2.6
Oracle REST Data Services 21.3.0.r2661100

We have configured ORDS to speak to our Antivirus instance (ClamAV) and can confirm that files we upload are being scanned and our test virus signature files fail to get uploaded into our object storage bucket.
On page submit I can see that we post wwvflowform to https://xxxxxxxxxxxxxxx/ords/wwv_flow.accept?p_context=object-storage-management/uploads/719230437031574
Capture.PNGThe response back from this POST

{
"code": "BadRequest",
"title": "Bad Request",
"message": "File Infected.",
"type": "tag:oracle.com,2020:error/BadRequest",
"instance": "tag:oracle.com,2020:ecid/7YldZs2-RLqvLunJ9UJI5g"
}

I'm struggling to find a) how to get handle of wwvflowform post request/response and b) how to update the standard error message shown in the image.

Any help appreciated.

Regards

Sun-E

Comments
Post Details
Added on May 10 2022
1 comment
358 views