hosted target file upload. 500 server error. please try again in 30 seconds.

I am uploading file to S3 using hosted target. The file is uploading to S3 successfully and no errors in run time logs. But I am getting below exception:

500 Server Error

Error: Server Error

The server encountered an error and could not complete your request.

Please try again in 30 seconds.

code snippet (hosted target):

true true

As per the hosted target documentation we should use empty hosted target tag i.e.

But I am included streaming properties in to Hosted Target Tag. I found no error.

Note: My requirement is upload large files (up to 300 MB) to S3.

@Dino @Anil Sagar @ Google

Per the response in this question https://community.apigee.com/questions/67575/how-to-enable-streaming-in-target-endpoint-when-us.html?childToView=67906#comment-67906 streaming isn’t enabled in Hosted Targets.