Invalid scalar at the end of sequence