Skip to content

[search-MDN]: search API bug - returning 404 #2244

@alorslouis

Description

@alorslouis

Extension – search-mdn

Author: @krzysztofzuraw @OBQun @grzegorzkrukowski

Description

search-mdn should return documents matching query

now returns 404 ("Could not load MDN results. Error: Request failed with status code 404")

seems the endpoint has changed(?). played with it locally.

old query:

`https://developer.mozilla.org/api/v1/search/${locale}`, {
      params: {
        q: query,
        sort: "best",
      },
    }

fix for query:

`https://developer.mozilla.org/api/v1/search`, {
      params: {
        q: query,
        sort: "best",
        locale: locale,
      },
    }

Steps To Reproduce

  1. Enter query into Search MDN extension
  2. 404

The current behavior

404 on query

The expected behavior

return documents matching search query

Raycast version

Version: 1.37.1

404 - standard extension

fixed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to one of the extensions in the Store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions