Start a new topic

How to remove "broken" files?

I discovered in my app a lot of issues related to Kinvey. I am trying to download files and update (upload) them and I have errors:

> Failed to load resource: the server responded with a status of 400 (Bad Request)

> XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin [my app url] is therefore not allowed access. The response had HTTP status code 400.

I found such files in Kinvey console and tried to manually delete them but have "Internal Server Error" message:

![]( "")

I am using HTML5 SDK.

UPD: I found that the Error happens for files that have "\n" in _filename

Just for clarification, do the files have the character \n or an actual newline character (Which could be \r, \r\n, or \n depending on os version)?

For example:





Thanks for the clarification, we'll take a look at how we can solve this and get back to you.

I was not testing all versions but it was actual newline character \n. Аfter renaming such files via kinvey console I am able delete them, but they are still not avaliable for download.

Offtop: I can not download files renamed from console.
Hey there Lavrton,

I just wanted to let you know that this is still on our radar. We are currently targeting a fix for this to be deployed by the end of this week, although that is subject to change.

Please let me know if you have other issues that arise.
Login or Signup to post a comment