Closed dpashouwer closed 5 years ago
It was caused by this, the presence of an empty tag_data
answer. I isolated a case on recipient 1, page 4, question 2, answer 1.
I'm unfamiliar with "tag_data" and it isn't mentioned in the API documentation. But it appears SM now has tagging of open-response items so this may be related to that. I don't know if we'd want to try to pull the tag info in, and how we'd do that; for now I'd just say let's not engage with that.
I tried to stay minimal in addressing this, by dropping the zero-length tag_data
above. Now I can fetch the survey ID that was failing, so I'm closing this.
Not sure what would happen if there was data in the tag_data
sublist. Do you know if tagging was used for this survey?
Survey id 188182243
has actual tag_data
, which caused breakage. I am now intentionally dropping the tag data for now. Specifically it's on page 4, Q5 of that survey.
Old survey from 2018 that I'm trying to access. Keep running into the error: "Error: Argument 2 must be length 1, not 0"