[SERVER-11721]  FailedToParse: Bad characters in value: offset:29 Created: 15/Nov/13  Updated: 27/Apr/15  Resolved: 27/Nov/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ankit Sharma Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Operating System: ALL
Participants:

 Description   

Hello,

When we are trying to take mongodump we are facing following error.

We are executing below command :

mongodump -u Username -d NH_DEVICEDATA -c DevicePacketWrapper 
-q  '{"$and":[{"Header.InsertUTC":{"$gte":ISODate("2013-11-11T00:00:00Z")}},{"DevicePacket.Blocks.Data.TamperResistanceMode":new NumberInt(255)}]}' 
-o /data/scripts/InvalidTamperResistanceModePayload -p 

We are getting below error:
assertion: 16619 code FailedToParse: FailedToParse: Bad characters in value: offset:29

Can you please suggest me why we are facing this error?

Thanks,
Ankit



 Comments   
Comment by Eliot Horowitz (Inactive) [ 27/Nov/13 ]

Please let us know if that doesn't resolve.

Comment by Eliot Horowitz (Inactive) [ 27/Nov/13 ]

new NumberInt(255) isn't valid json, you can just use 255

Generated at Thu Feb 08 03:26:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.