Could you check the db.content_type? Make sure it is a Google sheet that you’re working with and not some other file format?
My guess is that you might have uploaded a csv to Google drive and are using the csv file rather than the Google sheet file.