-
-
Notifications
You must be signed in to change notification settings - Fork 735
com.parse.ParseRequest$ParseRequestException: Could not store file. #670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like an error within your files controller in parse-server... Why are you saving the file twice? To define both callbacks you should use |
It was just to check wether r it saves or not. So what should i do to solve this problem? |
@natario1 I'm stucked here for couple of days , please any help would be greatly appereciated. |
I think this is a server issue, we send the data and get the response. Files controller is not able to save, link. Might be related parse-community/parse-server#3830 Do you get any info in parse-server logs? Remove one of the |
@natario1 I have removed saveInBackground but still it's not working, and i think size is not a |
Do you get any logs in parse-server when the upload fails? |
@natario1 2017-05-20T16:23:36.461590+00:00 heroku[router]: at=info method=POST path="/parse/files/cuucufu.png" host=mainandroid.herokuapp.com request_id=596145c5-dd52-4033-bd1c-a8dd1a2bff8e fwd="103.249.239.170" dyno=web.1 connect=0ms service=29841ms status=400 bytes=520 protocol=https |
@natario1 any idea whats going on? |
Nope. Let’s wait to see if someone else can help you, but I think you’ll get better help on parse-server. Looks like a configuration issue. By the way, in the original comment you had pasted more lines of logs, now you left just one, but some of these were meaningful (the ones with |
@natario1 Thanks for looking into my problem. I am unable find any logs regarding warning, and in addition to that I can upload String ,Integers and array but not Images. |
@sandeep2242 does this happen for any file size or only when file size exceed a certain limit? Do you have a very simple ParseFile code saving example that produce the issue? |
@dangtz the only thing I am saving is an image , which i have converted into a file |
@sandeep2242 I've updated my comment, my question is about file size, not file type. |
Instead of |
@dangtz file size is 200kb |
@Jawnnypoo when i checked my parse logs it shows , Quota exceeded ,Could not store file |
So I suppose that is your issue then. You will have to get more storage space from your provider. |
@Jawnnypoo please can u check my db stats and please tell me wether i have to change my sandbox plans |
No I cannot. I have no access to things like that. You need to speak with whoever set up your Parse server instance, more than likely you have exceeded your limits on mLab or whatever provider you are using for MongoDB. This is the tracker just for the Android SDK, if you need help with server stuff, go ahead and open an issue on the server issue tracker. |
@Jawnnypoo I have opened But no one is bothering to reply. Btw Thank you. |
@sandeep2242 not sure what you're talking about... parse-community/parse-server#3839 But yes, if you think we don't take the time to respond to you, that's fine. |
@flovilmart I have created my database 3 times and every time parse logs shows Could not store file,quota exceeded. |
Did you ever mentioned that? No I don't think so. Also, the error you have is a mongoDB error, not a parse-server error. Perhaps you should investigate it. And as mentioned many time, you should store your files on S3 or something similar, not in DB! |
@flovilmart I'll investigate more into it. Thank You |
@flovilmart @sandeep2242 do you guys find any solution to this problem. I am facing the same issue. any help appreciated. Thanks |
I am working on Parse using Heroku server. last night my Images was uploading fine (all other data is uploading fine ie string ,int etc), but this morning there was an error in uploading images and the error was ie
com.parse.ParseRequest$ParseRequestException: Could not store file.
` final ParseObject productDetails = new ParseObject("VendorInv");
EDIT
The text was updated successfully, but these errors were encountered: