Skip to content

problem if validation fails  #188

@muhammadshoaib

Description

@muhammadshoaib

Good day,

I was trying to load the data into Ada, however, I had problem with validation in the first step. This made the whole system stopped from working and deleting the inapropriate study. I got the following error.

`Unable to provision, see the following errors:
1) Error injecting constructor, org.elasticsearch.client.ResponseException: PUT http://127.0.0.1:9200/data-covirna_lih.predicovid_dropped_fields: HTTP/1.1 400 Bad Request
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Failed to parse mapping [data-covirna_lih.predicovid_dropped_fields]: name cannot be empty string"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [data-covirna_lih.predicovid_dropped_fields]: name cannot be empty string","caused_by":{"type":"illegal_argument_exception","reason":"name cannot be empty string"}},"status":400}
  at org.ada.server.dataaccess.elastic.ElasticJsonCrudRepo.<init>(ElasticJsonCrudRepo.scala:23)
  while locating org.incal.core.dataaccess.AsyncCrudRepo<play.api.libs.json.JsObject, reactivemongo.bson.BSONObjectID> annotated with @com.google.inject.internal.UniqueAnnotations$Internal(value=1)
1 error`

Metadata

Metadata

Assignees

Labels

High PriobugSomething isn't workingpersistanceIssue concerning data persistance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions