Closed wz-gel closed 4 years ago
The parameter JSON_FORCE_OBJECT was mistakenly applied to json_decode as the 3rd parameter (depth), which caused the maximum depth to be set to 16.
JSON_FORCE_OBJECT
json_decode
depth
This caused requests with deep documents to fail to upload to Firestore.
Removing this argument, thus restoring to the default 512, solves the issue.
The parameter
JSON_FORCE_OBJECT
was mistakenly applied tojson_decode
as the 3rd parameter (depth
), which caused the maximum depth to be set to 16.This caused requests with deep documents to fail to upload to Firestore.
Removing this argument, thus restoring to the default 512, solves the issue.