Reputation: 61
I have an OpenWhisk action (on IBM Bluemix) which returns a large json document. I'm receiving an error indicating that the returned document is greater than 1048576 bytes (1MB). Is there a way to increase this limit ?
Thanks in advance -- Simon
Upvotes: 0
Views: 418
Reputation: 26
the recommendation for large payloads (>1MB) is to store them on sth like cloudant and then have cloudant fire a trigger to invoke an action. See here for details: https://console.bluemix.net/docs/openwhisk/openwhisk_cloudant.html#openwhisk_catalog_cloudant
Upvotes: 0
Reputation: 12778
I would guess that you could store the object to S3 or similar and the return a link to it.
Upvotes: 1
Reputation: 147
This page indicates the default limits and it seems it can can't be changed https://console.bluemix.net/docs/openwhisk/openwhisk_reference.html#openwhisk_reference
Upvotes: 0