Error: syntax error, unexpected '}', expecting end of file: URL invalid