Skip to content

Can't send MMS, error code 5  #45

Description

@Hwmpunk

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.0.0

Affected Android/Custom ROM version

Graphene OS

Affected device model

Pixel 8 pro

How did you install the app?

None

Steps to reproduce the bug

Sending gif text results in cannot send, touch to retry. Then error code 5 pops up.

Expected behavior

Can't send Gifs

Actual behavior

Error code 5

Screenshots/Screen recordings

No response

Additional information

No response

Activity

  1. added
    bugSomething is not working
    needs triageIssue is not yet ready for PR authors to take up
    on Jan 24, 2024
  2. removed
    needs triageIssue is not yet ready for PR authors to take up
    on Jan 24, 2024
  3. Aga-C commented on Jan 24, 2024

    @Aga-C
    Contributor

    Are you able to send normal photos? Also, how large (in kilobytes) is this GIF file?

  4. added
    waiting for authorIf the author does not respond, the issue will be closed. Otherwise, the label will be removed.
    on Jan 24, 2024
  5. Hwmpunk commented on Jan 24, 2024

    @Hwmpunk
    Author

    Are you able to send normal photos?

    Yes but FYI I must type a text along with it or send button is greyed out.

    Videos also do not send*

  6. removed
    waiting for authorIf the author does not respond, the issue will be closed. Otherwise, the label will be removed.
    on Jan 24, 2024
  7. changed the title [-]Can't send Gifs, error code 5 [/-] [+]Can't send Gifs or videos, error code 5 [/+] on Jan 24, 2024
  8. naveensingh commented on Jan 24, 2024

    @naveensingh
    Member

    Error code 5 is usually thrown when you are sending something that exceeds carrier limits. It may be that you have sent too many MMS messages or you are sending a file that is too big. The error messages need to be more user-friendly.

    @Hwmpunk Can you please try sending a very small file no more than 20-100kbs?

  9. added
    waiting for authorIf the author does not respond, the issue will be closed. Otherwise, the label will be removed.
    on Jan 24, 2024
  10. Hwmpunk commented on Jan 24, 2024

    @Hwmpunk
    Author

    Error code 5 is usually thrown when you are sending something that exceeds carrier limits. It may be that you have sent too many MMS messages or you are sending a file that is too big. The error messages need to be more user-friendly.

    @Hwmpunk Can you please try sending a very small file no more than 20-100kbs?

    I sent a 191kb gif and it worked. The one that didn't was exactly 1mb. The stock Graphene messaging app can send larger Gifs and videos under 2mb. For some reason your app has a smaller limit of less than 1mb. But yes, there's a limit on standard mms.

    Out of curiosity, stock Android or Apple can reduce the quality of the media in order to send, not sure how difficult it would be to incorporate that into the app. Would at least make mms more usable. Most pictures these days are above 2mb

  11. removed
    waiting for authorIf the author does not respond, the issue will be closed. Otherwise, the label will be removed.
    on Jan 24, 2024
  12. naveensingh commented on Jan 24, 2024

    @naveensingh
    Member

    The app always tries to resize normal images to the MMS limit set in app settings. It doesn't do that for GIFs (yet) so that explains why your stock messages app can send it by compressing it. Can you try sending a ~2MB JPEG or PNG image? It shouldn't fail.

  13. 23 remaining items

  14. breversa commented on Jul 15, 2025

    @breversa

    Last suggestion for tonight: once you’ve reset the configuration to default, remove type=sms from the the first APN "Free".

    Also, set back the MMS size to the default (or minimum) value in Fossify Messages.

    Then reboot and try again.

  15. Valeryan24 commented on Jul 15, 2025

    @Valeryan24

    OMG thanks a lot, it works !

    Just, if I select for the "Resize MMS image" option "no limit" or "2 MB" in Fossify, I still get error 5…

    But if I select 100 Kb or 1 MB, MMS is finally well sent this time 👍

  16. breversa commented on Jul 16, 2025

    @breversa

    OMG thanks a lot, it works !

    Just, if I select for the "Resize MMS image" option "no limit" or "2 MB" in Fossify, I still get error 5…

    But if I select 100 Kb or 1 MB, MMS is finally well sent this time 👍

    Glad I could help!

    It appears that every phone carrier has an undocumented limit to the MMS message size. Free Mobile’s seem to be between 1 MB and 2 MB.

    Maybe we should try and document them somewhere?

  17. naveensingh commented on Jul 16, 2025

    @naveensingh
    Member

    There's a plan to map these error codes to user-friendly messages: #315

    Maybe we should try and document them somewhere?

    Ideally, the app should handle limits in-app. The mms config files are outdated, but could be parsed at runtime to automatically apply the carrier-specific limits instead of using a preference. There's also the CarrierConfigManager API (or SmsManager.getCarrierConfigValues()), but I haven't checked if it provides up-to-date information.

  18. self-assigned this
    on Jul 16, 2025
  19. pike2k commented on Sep 26, 2026

    @pike2k

    Adding another data point for this issue:

    Running GrapheneOS on a Pixel device. I received a 1.73 MB JPEG via MMS from an iPhone user without issues (meaning my carrier gateway easily accepts payloads near ~1.8 MB).

    However, when trying to send the same 1.73MB image back with Fossify Messages:

    '1 MB' limit: Sends successfully, but downscales the file more than necessary (773 KB output).
    
    '2 MB' or 'No Limit': Fails with Error Code 5 because the total payload exceeds the carrier's ~1.8 MB upload ceiling.
    

    Having more granular options between 1 MB and 2 MB (e.g., 1.2 MB, 1.4 MB, 1.6 MB, 1.8MB) under Settings > MMS > Resize sent MMS images would solve this gap for carriers that support >1 MB payloads without blowing past their upload caps!

  20. breversa commented on Oct 1, 2026

    @breversa

    That's a nice detailed research. Thanks and well done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions