Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] V1 search API used, but deprecated and removed in Mastodon 3.0.0 and later #526

Closed
philpem opened this issue Dec 17, 2022 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@philpem
Copy link

philpem commented Dec 17, 2022

I tried to run a search for a hashtag in Sengi earlier. A "404" error appeared at the bottom of the search window, from my Mastodon instance.

From the endpoint URL it appears that Sengi is using the v1 search API, which has been deprecated and removed in Mastodon 3.0.0 and later:

https://docs.joinmastodon.org/methods/search/#v1

Sadly this won't work on most current Mastodon deployments, and needs to be updated to use the v2 search API.

@philpem
Copy link
Author

philpem commented Dec 17, 2022

This also happens if you click a notification in the Notifications pane:

Http failure response for https://digipres.club/api/v1/search?q=https://irrelevant.me.uk/users/robert/statuses/109530749135446914&resolve=true: 404 OK

@NicolasConstant NicolasConstant added the bug Something isn't working label Dec 18, 2022
@anantshri
Copy link

I think i might have a idea about this bug.

https://digipres.club/nodeinfo/2.0 says its hometown and version number is hometown version.

superseriousbusiness/gotosocial#1069 gotosocial suffers from a simmilar issue where sengi looks for v1 coz it assumes version less the 2 is using v1 api.

Hope this RCA is right and is helpful here.

@NicolasConstant NicolasConstant added this to the 1.3.0 milestone Dec 29, 2022
@floogulinc
Copy link

This is also an issue with pleroma/akkoma instances it seems.

@NicolasConstant
Copy link
Owner

What version of pleroma?

@floogulinc
Copy link

The instance I tested it on is running Akkoma 3.5.0-0-gd9508474b

@LiamPM5
Copy link

LiamPM5 commented Feb 3, 2023

I figured I would ask this here to clutter up the issue list less, unless I absolutely need to open one for what I'm experiencing.

It appears that this issue is preventing me from joining certain Mastodon servers. I was wondering if there's an ETA on this fix or if there's any further information I could provide in a bug report to help

@NicolasConstant
Copy link
Owner

Didn't realized before, but this issue is already fixed in the current version of Sengi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants