IceCubesApp icon indicating copy to clipboard operation
IceCubesApp copied to clipboard

Bug: error fetching emoji with an empty url/staticUrl

Open kejadlen opened this issue 1 year ago • 4 comments

Environment:

  • OS: iOS 18.0
  • IceCubesApp version: 1.10.59

Description

When refreshing the timeline, I get "An error occurred while loading posts, please try again".

It seems this is because my server (GoToSocial) had an emoji with url/staticUrl as empty strings, so decoding the emoji failed. I did get it to load successfully with this change, though I don't know if this is the ideal way of handling this scenario.

Related Issues

  • [x] Search that this bugs don't already exist before creating it.

kejadlen avatar Sep 27 '24 18:09 kejadlen

Also, although I removed the offending emoji on the server, I'm still unable to pull down the timeline on my phone despite uninstalling and reinstalling the app. Not sure if there's some caching somewhere that needs to be busted?

kejadlen avatar Sep 27 '24 20:09 kejadlen

The same issue started for me. But I can't find any weird emoji in my GtS database.

Local timeline - works
Federated timeline - works
Trending - error (expected, not supported by GtS)
Home timeline - ERROR
Notifications tab - works
News tab - ERROR
Profile tab - works

I'm on iOS 18.1 Beta and GotoSocial 0.17-rc1. It worked like this just fine yesterday and I didn't touch anything since then.

The Phanpy app works without any obvious issues.

mbirth avatar Sep 28 '24 01:09 mbirth

I am seeing this as well, iOS 18.1, GtS 0.17

It loads fine occasionally, but when I tried to load posts today and inspected the JSON manually I found posts that had emoji with blank URLs.

An example:

...
      "emojis": [
        {
          "shortcode": "ablobcatmaracasevil",
          "url": "",
          "static_url": "",
          "visible_in_picker": true
        },
...

amdavidson avatar Dec 08 '24 00:12 amdavidson

Other clients when faced with the same null fields will just render the short code (mona, phanpy) or a drop it silently (feditext) either of those would be preferable to breaking the entire timeline render, but rendering the short code seems like it would be the more elegant handling.

amdavidson avatar Dec 08 '24 02:12 amdavidson

I have this issue as well, though I have never added custom emoji to my GTS instance.

zacharyburnett avatar Nov 09 '25 08:11 zacharyburnett