Uploading Image Issue *** ASL MESSAGE SIZE (9372279 bytes) EXCEEDED MAXIMIMUM SIZE (2048000 bytes) ***

Hi. I’m trying to upload images to my server from an app that I made using Corona SDK. I can upload images through the simulator, and everything works fine. I can also upload smaller images through the app on my phone, but images that are bigger, crashes the app. I get the following error in the console:

*** ASL MESSAGE SIZE (9372279 bytes) EXCEEDED MAXIMIMUM SIZE (2048000 bytes) ***

Is there anyway for me to configure the maximum size?

Thank you in advance.

Hi @DonWono,

Can you please show some basic code? The community and staff will need more details on how you’re doing an upload (which API, its parameters, etc.)

Thanks,

Brent

We’re using our own API that we build using Ruby on Rails. I just realised that the issue was from the server side, so I’ve compressed the image to a manageable size, before transmitting it. It works now. Thank you!

Hi @DonWono,

Can you please show some basic code? The community and staff will need more details on how you’re doing an upload (which API, its parameters, etc.)

Thanks,

Brent

We’re using our own API that we build using Ruby on Rails. I just realised that the issue was from the server side, so I’ve compressed the image to a manageable size, before transmitting it. It works now. Thank you!