Non-useful error: csv headers are not correct; they need to be : "name, type, dataType"

I’m trying to create a bucket with an explicit schema, but I keep getting the error:

csv headers are not correct; they need to be : “name, type, dataType”

The header from my csv is:

name,type,dataType

taken directly from the Learn More link on the creation page.

JSON schema also gives an error:

column file is not formatted correctly

Which is incredibly unhelpful. It took me hours to find out that dataType cannot be an int for a field, even though the docs say it is an alias for integer.