Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting feedback docs fails with Error about long string #5851

Closed
kennsippell opened this issue Jul 31, 2019 · 1 comment
Closed

Requesting feedback docs fails with Error about long string #5851

kennsippell opened this issue Jul 31, 2019 · 1 comment
Assignees
Labels
Priority: 2 - Medium Normal priority Type: Bug Fix something that isn't working as intended
Projects

Comments

@kennsippell
Copy link
Member

Trying to pull feedback docs for Muso:
node scripts/get_users_meta_docs.js --mode interactive --type feedback https://admin:abcd@muso-mali.app.medicmobile.org/medic-users-meta

Seeing this error:

{ FetchError: invalid json response body at https://muso-mali.app.medicmobile.org/medic-users-meta/_all_docs?include_docs=true&startkey=%22feedback-%22&endkey=%22feedback-%EF%BF%B0%22 reason: Cannot create a string longer than 0x3fffffe7 characters
    at /home/kenn/webapp/node_modules/node-fetch/lib/index.js:241:32
    at process._tickCallback (internal/process/next_tick.js:68:7)
  message:
   'invalid json response body at https://muso-mali.app.medicmobile.org/medic-users-meta/_all_docs?include_docs=true&startkey=%22feedback-%22&endkey=%22feedback-%EF%BF%B0%22 reason: Cannot create a string longer than 0x3fffffe7 characters',
  type: 'invalid-json' }
@kennsippell kennsippell added the Type: Bug Fix something that isn't working as intended label Jul 31, 2019
@garethbowen garethbowen changed the title get_users_meta_docs - cannot create a string longer than 0x3ffffffe7 characters Requesting feedback docs fails with Error about long string Jul 31, 2019
@garethbowen garethbowen added the Priority: 2 - Medium Normal priority label Jul 31, 2019
@garethbowen garethbowen added this to To do in 3.7.0 via automation Jul 31, 2019
@tookam tookam self-assigned this Jul 31, 2019
@tookam tookam moved this from To do to In progress in 3.7.0 Aug 1, 2019
@tookam
Copy link
Contributor

tookam commented Aug 14, 2019

Fixed and merged

@tookam tookam closed this as completed Aug 14, 2019
3.7.0 automation moved this from In progress to Done Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 2 - Medium Normal priority Type: Bug Fix something that isn't working as intended
Projects
No open projects
3.7.0
  
Done
Development

No branches or pull requests

3 participants