You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.
Upload picture from iPad through an HTML form post to an Azure Mobile Service API
Error returns (413) due to size of the request. Debugged, and it is being thrown at the bottom lines in my implementation
Relevant usage code:
//container varaible below is bluesky container for blobs
var readStream = fs.createReadStream(request.files.snapshot.path);
readStream.pipe(container.put(corid)); //errors with the 413 on this line
response.send(200, {msg: 'photo uploaded'});
If this is by design in anyway and I am just using this wrong LMK or if there is something more that may be helpful I can provide.
The text was updated successfully, but these errors were encountered:
See it every time. I can get the exact size shortly. Essentially it happens to any image taken with the back camera on iPad Air / iPhone 5s. Front facing camera does not cause the issue. I know the data needs to be chunked in blocks to be uploaded for larger post data (thought though was 64mb).
Here is one of the images I took with the rear facing camera. Funny, it actually happens every single time. Was able to repro with other images as well.
It is 1.09MB. Seems to hit an issue when going over a 1MB. I looked at your code and did not see an issue off hand; but will debug more and see if I can find it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Scenario:
Relevant usage code:
//container varaible below is bluesky container for blobs
var readStream = fs.createReadStream(request.files.snapshot.path);
readStream.pipe(container.put(corid)); //errors with the 413 on this line
response.send(200, {msg: 'photo uploaded'});
If this is by design in anyway and I am just using this wrong LMK or if there is something more that may be helpful I can provide.
The text was updated successfully, but these errors were encountered: