Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As previously outlined in the Ingesting Data via Endpoint section, using the process endpoint is one way of triggering the Lens to ingest your source data. When an execution of the Writer fails after being triggered in this way, the response will be a status 400 Bad Request as follows and contain a response message similar to that sent to the dead letter queue as outlined above.

Code Block
{
    "codename": 400"Lens-Writer",
	"time": "2020-04-21T11:41:28.374",
	"type": "Lens-Writer",
	"messageerror": "HTTP 400 Bad RequestRecord '/var/local/basic-rdf.xyz' could not be processed due to: uk.co.datalens.writer.exception.LensWriterExecutionException: Input file is of an invalid file type: (.xyz) - Expected nq.",
	"version": "1.3.1.0",
	"entity": "/var/local/basic-rdf.xyz"
}