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

It is not a valid json. #283

Open
Shubgupta007 opened this issue Jun 13, 2022 · 0 comments
Open

It is not a valid json. #283

Shubgupta007 opened this issue Jun 13, 2022 · 0 comments

Comments

@Shubgupta007
Copy link

Hello,

Using XSOAR platform for MongoDB query. When I was trying to find using ISO date query format it was showing not a valid JSON.

Query Using -
""created": { "$gte": { "$date": "2022-06-08T00:00:00.000Z" } }"
return
It is not a valid JSON

Mongo Entry present in mongo DB

{
"_id" : ObjectId("62a052980b0b5550f005b6e4"),
"name" : "ABC",
"email" : "[email protected]",
"title" : "asd",
"intelligenceCenter" : "test",
"rfiTitle" : "Test",
"requestDescription" : "Test",
"additionalContext" : [
"test"
],
"requestEndpoint" : "trest",
"requestDate" : "2022-06-02T18:30:00.000Z",
"levelOfIntelligence" : "test",
"type" : "request",
"created" : ISODate("2022-06-08T07:41:12.817+0000"),
"status" : "Pending"
}

If possible can you provide the REST API documentation of Mongo DB that was a query to find using ISO date?

@vietj vietj transferred this issue from vert-x3/issues Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant