Hello,
Is there any limit for returning a JSON from cloudscript? If so, does it affect the bill? I want to return a json that has 12 key-value pairs.
Also, does combining some key-value pairs (nested JSON) have any effect on this?
Hello,
Is there any limit for returning a JSON from cloudscript? If so, does it affect the bill? I want to return a json that has 12 key-value pairs.
Also, does combining some key-value pairs (nested JSON) have any effect on this?
Yes, Azure Functions Cloud Script returns a max of 64 KB. If you need more than that, the recommendation would be to write it to Azure Blob or S3, and return a URL. Also, please bear in mind that the calls within the script to read data from the service will be accumulating meter spin on the relevant meters. So, if you're reading player profiles in the script, that would hit the Profile Read meter.
But no, nested JSON isn't relevant - just the total size.
Hi @Brendan
I would like to enquiry a follow-up question.
If we upgrade to a premium or an enterprise plan, can we increase the maximum size in the response of Azure Functions?
I look forward to your reply.
Eric Wei
3 People are following this question.