You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error with 8 fields: ['sum_pop_2020', 'ogc_fid', 'sum_pop_f_0_2020', 'sum_pop_f_10_2020', 'sum_pop_f_15_2020', 'sum_pop_f_1_2020', 'sum_pop_f_20_2020', 'sum_pop_f_25_2020']
Error message: Failed to get summary: {"message":"Internal Server Error"}
After digging into the Lambda logs, we are hitting hard Lambda limits around the response size of 6 MB.
Expected behavior
I'm unsure how often actual users will requests more than 8 fields. That being said, we should have a clear path to support these use cases either by communicating these limits when they occur and proposing an alternative approach, or we adapt something in the API to return the expected response directly.
The text was updated successfully, but these errors were encountered:
In #32, @vincentsarago added compression, and the difference is notable. We deployed a new API version, using the Kenya AOI, and requesting a point geometry, a user can retrieve 28 fields before hitting the size limitation. Without the point geometry, a user can retrieve up to 32 fields.
The same considerations above still apply, but we might already be within the acceptable constraints for user requests. cc: @andresfchamorro@bpstewar
Describe the bug
When making a request to the
summary
endpoint with 8 fields or more, the API returns an internal server error.To Reproduce
Returns:
After digging into the Lambda logs, we are hitting hard Lambda limits around the response size of 6 MB.
Expected behavior
I'm unsure how often actual users will requests more than 8 fields. That being said, we should have a clear path to support these use cases either by communicating these limits when they occur and proposing an alternative approach, or we adapt something in the API to return the expected response directly.
The text was updated successfully, but these errors were encountered: