fix: Align HTTP error message#55
Merged
OS-pedrogustavobilro merged 1 commit intoJan 26, 2026
Merged
Conversation
alexgerardojacinto
approved these changes
Jan 26, 2026
capacitor-bot
pushed a commit
that referenced
this pull request
Feb 10, 2026
## [2.0.4](v2.0.3...v2.0.4) (2026-02-10) ### Bug Fixes * Align HTTP error message ([#55](#55)) ([a1702d0](a1702d0)) * **android:** AGP 9.0 no longer supporting `proguard-android.txt` ([#57](#57)) ([2eea2f7](2eea2f7)) * **ios:** http body in error and send progress only when success ([#59](#59)) ([da7a5fd](da7a5fd)) * **web:** Check the existence of the folder before mkdir. ([#33](#33)) ([0f0658f](0f0658f))
OS-pedrogustavobilro
added a commit
that referenced
this pull request
Feb 11, 2026
capacitor-bot
pushed a commit
that referenced
this pull request
Feb 11, 2026
## [1.0.10](v1.0.9...v1.0.10) (2026-02-11) ### Bug Fixes * Align HTTP error message ([#55](#55)) ([d50c7d6](d50c7d6)) * **android:** Correctly returning headers for upload ([#46](#46)) ([93eab42](93eab42)) * **ios:** http body in error and send progress only when success ([#59](#59)) ([d0e43cc](d0e43cc)) * **ios:** Send upload response code as string instead of number ([#49](#49)) ([ba0c1d2](ba0c1d2)) * **web:** Check the existence of the folder before mkdir. ([#33](#33)) ([58ea4b6](58ea4b6))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When reviewing the File Transfer plugin errors, I'm noticing that when an HTTP error occur, we are returning a duplicate error message. "HTTP Error: 400 - Http Error: 400". So this PR aligns that error message between platforms to just be "HTTP error: 400".
I'll be opening other PRs in the near future to address other issues / limitations in our plugin's error handling, but this one is the first (and simplest one).