Under what scenarios does Dgraph return an array in place of a string?

For now I guess I just need to check to see if the result is an array instead of the expected string and retry the query. This is concerning, though, because I don’t know how many retries I will need to run (and how long I’ll need to make users wait), but it is a workaround.