Closed rades12340 closed 5 years ago
Is req.rawBody
somehow missing the terminating boundary line?
Does the 'finish'
event handler get called if your 'file'
event handler simply only does file.resume()
?
I had to rollback firebase-tools
.
In functions folder
npm rm firebase-tools
npm i -g firebase-tools@6.8.0
Then add config.storageBucket
to the .bucket()
in the 'finish'
event handler
I can now sleep in peace knowing I defeated another bug
I had to rollback
firebase-tools
.In functions folder
npm rm firebase-tools
npm i -g firebase-tools@6.8.0
Then addconfig.storageBucket
to the.bucket()
in the'finish'
event handlerI can now sleep in peace knowing I defeated another bug
This worked. Thanks. I couldn't imagine it was because of this.
There is no problem with code neither with firebase versions. Try to remove Content-Type from postman headers that is it.
There is no problem with code neither with firebase versions. Try to remove Content-Type from postman headers that is it.
Thank you soriasayer Issue resolved by removing headers
I'm having an issue with uploading an image on Firebase Storage with Firebase functions. It all works until it gets to the the finish event of BusBoy. I console logged some arbitral word in finish event, but it doesn't get called.
This is the code:
"busboy": "^0.3.1", "dotenv": "^8.0.0", "firebase": "^6.2.3", "firebase-admin": "^8.0.0", "firebase-functions": "^3.0.0"
Link to the GithHub repo: https://github.com/rades12340/socialape/blob/master/functions/handlers/users.js