'document value was too large' error getting user information from Sync Gateway

I’m getting an error getting the Sync Gateway user information for a particular user.

I’m calling the /{database}/_user/{username} API and Sync Gateway is returning the following error

“error”: “Internal Server Error”,
“reason”: “Internal error: document value was too large”

1 Like

Are you trying to retrieve the user or creating the user? Are you using admit port when you do API call? Can you check sync gateway logs and provide the logs here?