When using the API to create files we can set an invalid URL as a new File.
e.g.:
POST {server}/users/{username}/{domain}/data/addDataForType
{
"data_id": "http://example.org/this_url_\"is\"_invalid",
"data_type": "SOME_VALID_FILE_TYPE"
}
The new files appear in the UI but with no name and gives error when clicking on them.