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 https://storage.googleapis.com/kinvey_production_d7.... 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:



![](https://15254b2dcaab7f5478ab-24461f391e20b7336331d5789078af53.ssl.cf1.rackcdn.com/kinvey.vanillaforums.com/editor/fe/rfet3x70soxt.png "")



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:

filenam\ne.txt

or

filenam

e.txt



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



Thanks,
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