Expecting end_of_file, keyword, got { file_name error

Knowledge Drop

Last tested: Jun 17, 2020

When we drag and drop a Data file into Looker, the file extension is kept. However, if we try to rename the file there is no indication that we need to also add the file extension.

If we don’t add the desired file extension, Looker will understand this is a generic file, and a .lkml format file will be automatically added causing this error.