Request Entity Too Large - Sync Gateway

When does Sync Gateway return this error?

​*"{“error”:“Request Entity Too Large”,“reason”:“Too Large: Too large”}"*​

We are making PUT request to

http://syncgareway-ipaddress/db_name/user_id

with some JSON (>200K) and getting this error message.

We probably should not be sending a JSON of that size and we are going to look into that but Is there a place where this can be changed?