.desktop file fails with unhelpful error message "The was an error launching the application"
Here's an example but you can use any broken .desktop file.
This applies to Files 3.26 on Ubuntu 17.10 and the Files 3.28 Nightly Flatpak.
Edited by Ads20000