46
Views
3
Comments
Request Failed with Status 500 Error After Successful Large File Upload to OpenText
Application Type
Reactive
Platform Version
11.18.1 (Build 38276)

Hi all,


I am facing an issue while uploading large files (more than 100MB) to OpenText ECM via API from my OutSystems application. I have configured the shared settings in Factory Configuration to accept files larger than 500MB by following this tutorial How To Upload "Big Files" using Factory Configuration | OutSystems.


The problem arises after the file upload completes. Although the file successfully uploads to OpenText ECM (I can see the file in the designated location), the OutSystems application throws a “Request failed with status 500” error. For example, when I tried uploading a 200MB PDF file, the upload process took about 2 minutes to complete, but then I received the error.


I have also increased the server action timeout to 900 seconds (15 minutes) to avoid hitting the request timeout error, but the issue persists. Please refer to the attached screenshots for the configurations and logic setup.

Any advice on how to resolve this issue would be greatly appreciated. Thank you!


Regards,

Aima Aimaduddin bin Bollhasan

2019-01-07 16-04-16
Siya
 
MVP

Please confirm if this works successfully when you upload smaller files. Also Logic -> Integrations -> REST -> your Rest API  -> Method -> "Time Out in Seconds" by default its 100 seconds. Please increase the value to higher value and see if there is an improvement.

2024-06-29 14-39-51
Aima Aimaduddin Bollhasan

Hi Siya,

1. Yes, for smaller files, it works perfectly! It shows a success message and is able to refresh the aggregate for the list of files table. 


2. To increase the timeout for the REST API, I'm unable to do that since I'm using the 'GenericConnectorForMultipart' forge component to send the binary data to OpenText ECM via API. 


2024-06-08 15-17-54
Nawaz Khan

@Aima Aimaduddin Bollhasan Please add the exception handler on all the actions and try with debugger to catch where the exception is generating.

please the the OML file if possible. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.