Skip to content

[5.x] Restore error message on asset upload server errors#11642

Merged
duncanmcclean merged 1 commit intostatamic:5.xfrom
daun:fix/upload-error-message
Apr 2, 2025
Merged

[5.x] Restore error message on asset upload server errors#11642
duncanmcclean merged 1 commit intostatamic:5.xfrom
daun:fix/upload-error-message

Conversation

@daun
Copy link
Copy Markdown
Contributor

@daun daun commented Mar 31, 2025

Fixes #11641 by accounting for empty json responses after asset uploads. This restores error messages when uploading files that are larger than allowed by the server.

Signed-off-by: Philipp Daun <post@philippdaun.net>
@ryanmitchell
Copy link
Copy Markdown
Contributor

Oops, thank you

@duncanmcclean duncanmcclean merged commit 07ad39b into statamic:5.x Apr 2, 2025
25 checks passed
@daun daun deleted the fix/upload-error-message branch July 8, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Asset uploader no longer shows error message if uploaded file is too large

3 participants