We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba18a1e commit 513134bCopy full SHA for 513134b
1 file changed
src/NuGetGallery/Scripts/gallery/async-file-upload.js
@@ -193,8 +193,8 @@
193
break;
194
case "error":
195
// IIS returns 404.13 (NotFound) when maxAllowedContentLength limit is exceeded.
196
- if (fullResponse === "Not Found") {
197
- displayErrors(["The package file exceeds the size limit. Please try again."]);
+ if (fullResponse === "Not Found" || fullResponse === "Request Entity Too Large") {
+ displayErrors(["The package file exceeds the size limit of 250 MB. Please reduce the package size and try again."]);
198
}
199
else {
200
displayErrors(model.responseJSON);
0 commit comments