Hi, I try inserting about 60000 triples using the mutate { set call but the POST-query responds with (the rather unhelpful) {“code”:“ErrorInvalidRequest”,“message”:“Invalid mutation.”}
Is there a limit to the number of triples a mutation set accepts or am I running into other issues (and how may I debug those?)
Otherwise, if you want to do this via query mutations, you should break them down into smaller chunks, and send more queries. Maybe try with 1000 mutations per query.
Also, can you maybe post a sample of how your query looks?
We don’t let a query run for more than a minute – this is hardcoded. I’d recommend chopping down the number of mutations sent per query to something lower; so you don’t exceed the deadline.
When the deadline is exceeded, the unapplied mutations can be arbitrarily abandoned; and it would be hard to tell which ones weren’t applied. Essentially, the system tries to dispose the query as quickly as it can. Thus, it’s better to stay within the time limits.