Closed ghost closed 4 years ago
Hi @EmWhyAitch ,
Looks like data coming from the connector have invalid date. Basically the error
"TypeError: DateTime cannot represent an invalid date-time-string 2019-10-17T13:12:54.049499.",
" at GraphQLScalarType.parseValue (/opt/opencti/node_modules/graphql-iso-date/dist/dateTime/index.js:64:11)",
is directly throw by the API because 2019-10-17T13:12:54.049499 is an invalid date. We expect to receive an ISO format. Because the API reject the date, the complete mutation is rejected, so you will not have any "false" dates, but maybe some missing entities.
We plan to improve the traceability of import (timing, error, partial success) etc but for now you have to dig into the data you fetch from your external providers to find the data that have this kind of bad date definition.
Description
The error occurs during the insertion of data in grakn
Environment
docker-compose.yml:
Reproducible Steps
No steps, this appear after all services are up and workers are consuming MISP events or other events properly.
Expected Output
None.
Actual Output
Additional information
I'm using docker swarm, and all it's works, but this error probably will be inserting false dates.