Skip to content

Prismo posts raise errors

Followed mxb@prismo.news. My instance fetched a post of theirs, and now I can't access their profile, or the profile of anyone who interacts with them, or my own timeline, because it raises an error.

This is the error I get when trying to access the mxb@prismo.news profile on my instance:

 request_id=2lhev55s2dojr60esg001a1h [info] GET /api/v1/accounts/16918
 request_id=2lhev55s2dojr60esg001a1h [info] Sent 200 in 5ms
 request_id=2lhev561t3leqecu4k001a21 [info] GET /api/v1/accounts/relationships
 request_id=2lhev561t3leqecu4k001a21 [info] Sent 200 in 7ms
 request_id=2lhev562cnr8a614p4001a2h [info] GET /api/v1/accounts/16918/statuses
 request_id=2lhev562fo4c7ucj3k001a31 [info] GET /api/v1/accounts/16918/statuses
 request_id=2lhev562cnr8a614p4001a2h [info] Sent 500 in 9ms
 [error] #PID<0.15176.0> running Pleroma.Web.Endpoint (cowboy_protocol) terminated
 Server: falafel.win:80 (http)
 Request: GET /api/v1/accounts/16918/statuses?limit=30&exclude_replies=true
 ** (exit) an exception was raised:
     ** (Protocol.UndefinedError) protocol String.Chars not implemented for %{"href" => "https://prismo.news/posts/83", "mimeType" => "text/html", "type" => "Link"}. This protocol is implemented for: Atom, BitString, Date, DateTime, Decimal, Ecto.Date, Ecto.DateTime, Ecto.Time, Float, Integer, List, NaiveDateTime, Postgrex.Copy, Postgrex.Query, Postgrex.Stream, Time, URI, Version, Version.Requirement
         (elixir) /home/build/elixir/lib/elixir/lib/string/chars.ex:3: String.Chars.impl_for!/1
         (elixir) /home/build/elixir/lib/elixir/lib/string/chars.ex:22: String.Chars.to_string/1
         (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:244: Pleroma.Web.MastodonAPI.StatusView.render_content/1
         (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:127: Pleroma.Web.MastodonAPI.StatusView.render/2
         (elixir) lib/enum.ex:1314: Enum."-map/2-lists^map/1-0-"/2
         (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:31: Pleroma.Web.MastodonAPI.StatusView.render/2
         (phoenix) lib/phoenix/view.ex:332: Phoenix.View.render_to_iodata/3
         (phoenix) lib/phoenix/controller.ex:740: Phoenix.Controller.do_render/4
 request_id=2lhev562fo4c7ucj3k001a31 [info] Sent 500 in 12ms
 [error] #PID<0.15177.0> running Pleroma.Web.Endpoint (cowboy_protocol) terminated
 Server: falafel.win:80 (http)
 Request: GET /api/v1/accounts/16918/statuses?limit=30
 ** (exit) an exception was raised:
     ** (Protocol.UndefinedError) protocol String.Chars not implemented for %{"href" => "https://prismo.news/posts/83", "mimeType" => "text/html", "type" => "Link"}. This protocol is implemented for: Atom, BitString, Date, DateTime, Decimal, Ecto.Date, Ecto.DateTime, Ecto.Time, Float, Integer, List, NaiveDateTime, Postgrex.Copy, Postgrex.Query, Postgrex.Stream, Time, URI, Version, Version.Requirement
         (elixir) /home/build/elixir/lib/elixir/lib/string/chars.ex:3: String.Chars.impl_for!/1
         (elixir) /home/build/elixir/lib/elixir/lib/string/chars.ex:22: String.Chars.to_string/1
         (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:244: Pleroma.Web.MastodonAPI.StatusView.render_content/1
         (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:127: Pleroma.Web.MastodonAPI.StatusView.render/2
         (elixir) lib/enum.ex:1314: Enum."-map/2-lists^map/1-0-"/2
         (pleroma) lib/pleroma/web/mastodon_api/views/status_view.ex:31: Pleroma.Web.MastodonAPI.StatusView.render/2
         (phoenix) lib/phoenix/view.ex:332: Phoenix.View.render_to_iodata/3
         (phoenix) lib/phoenix/controller.ex:740: Phoenix.Controller.do_render/4