elastic icon indicating copy to clipboard operation
elastic copied to clipboard

elastic: Error 400 (Bad Request): only write ops with an op_type of create are allowed in data streams [type=illegal_argument_exception]

Open xyydcoo opened this issue 2 years ago • 0 comments

ES version : 7.14.2 Branch : "github.com/olivere/elastic/v7" Code : response, err := c.clt.Update(). Index(c.cfg.IndexName). Id(info.DataID). DocAsUpsert(true). Doc(values). Do(ctx)

Which version of Elastic are you using?

[✅ ] elastic.v7 (for Elasticsearch 7.x) [ ] elastic.v6 (for Elasticsearch 6.x) [ ] elastic.v5 (for Elasticsearch 5.x) [ ] elastic.v3 (for Elasticsearch 2.x) [ ] elastic.v2 (for Elasticsearch 1.x)

xyydcoo avatar Jul 11 '23 07:07 xyydcoo