Skip to content

← All questions

Dataset "users" has 3 row(s); row 5 does not exist (0-based) — is the header counted?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

I wrote Given I load dataset "users" row 5 because the account I want is on line 5 of the spreadsheet. Got:

text
DATASET_ROW_NOT_FOUND: Dataset "users" has 3 row(s); row 5 does not exist (0-based).

Three rows? The file has four lines. And when I tried row 1 earlier it gave me the second person, not the first. So either the header counts or it does not, and I cannot work out which from the message.

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related