Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limitation of 6MB file attachment while uploading (through API Gateway) to object storage? #493

Open
manikandan-janarthanan opened this issue Mar 28, 2023 · 1 comment
Labels
Functions Issue pertains to the Functions service

Comments

@manikandan-janarthanan
Copy link

manikandan-janarthanan commented Mar 28, 2023

I have a requirement to develop the cloud function to perform CRUD operations on file attachments into Object Storage. But I noticed the 6MB limitation of attachment content while uploading via Gateway.
Ref: https://docs.oracle.com/en-us/iaas/Content/APIGateway/Reference/apigatewaylimits.htm
i.e, client request -> API Gateway -> attachment function -> object storage

How to overcome this issue?
Since sometimes I need to upload large files and hence I found the multipart support and it works well from the cloud function here, but not sure how to receive/interpret the multipart/form-data body request in the cloud function.

Also, I referred to the sample codes and didn't get anywhere on how to receive the body content in the form of a multipart (in the handler class) while sending a request through API Gateway. Is there any specific example available for this use case?

@manikandan-janarthanan manikandan-janarthanan changed the title How to overcome the limitation of 6MB file attachment while uploading(through API Gateway) to object storage? Limitation of 6MB file attachment while uploading(through API Gateway) to object storage? Mar 28, 2023
@manikandan-janarthanan manikandan-janarthanan changed the title Limitation of 6MB file attachment while uploading(through API Gateway) to object storage? Limitation of 6MB file attachment while uploading attachment (through API Gateway) to object storage? Mar 28, 2023
@manikandan-janarthanan manikandan-janarthanan changed the title Limitation of 6MB file attachment while uploading attachment (through API Gateway) to object storage? Limitation of 6MB file attachment while uploading (through API Gateway) to object storage? Mar 28, 2023
@KartikShrikantHegde KartikShrikantHegde added the API Gateway Issue pertains to the API Gateway service label Mar 29, 2023
@KartikShrikantHegde KartikShrikantHegde added Functions Issue pertains to the Functions service and removed API Gateway Issue pertains to the API Gateway service labels May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functions Issue pertains to the Functions service
Projects
None yet
Development

No branches or pull requests

3 participants