Skip to content

Error: Missing required property "title" for Unknown #20167

Closed

Description

@Alessandro-JC

Extension

https://www.raycast.com/shldk/macosicons

Raycast Version

1.100.3

macOS Version

15.5

Description

Error:

Error: Missing required property "title" for Unknown

I even tried with another generated API key but I get the same message.

Steps To Reproduce

  1. I enter the API key
  2. When I try to search for an icon I receive the message "something went wrong"

Current Behaviour

No response

Expected Behaviour

No response

Activity

  1. added
    bug
    extension
    on Jul 1, 2025
  2. added
    extension: macosicons
    on Jul 1, 2025
  3. raycastbot commented on Jul 1, 2025

    @raycastbot
    Collaborator

    Thank you for opening this issue!

    🔔 @shldk @bendrucker you might want to have a look.

    💡 Author and Contributors commands

    The author and contributors of shldk/macosicons can trigger bot actions by commenting:

    • @raycastbot close this issue Closes the issue.
    • @raycastbot close as not planned Closes the issue as not planned.
    • @raycastbot rename this issue to "Awesome new title" Renames the issue.
    • @raycastbot reopen this issue Reopens the issue.
    • @raycastbot assign me Assigns yourself to the issue.
    • @raycastbot good first issue Adds the "Good first issue" label to the issue.
    • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.
  4. bendrucker commented on Jul 1, 2025

    @bendrucker
    Contributor

    I can't reproduce, the extension is working fine for me. Since I'm not the author I don't have access to the remote issue dashboard. But you can try running in development mode. You should see the actual error.

    That said, this sounds more like poor error handling/messaging than a solvable bug in the extension. As in more likely environmental (authn, network, etc.) than the code.

  5. bendrucker commented on Jul 1, 2025

    @bendrucker
    Contributor

    That said, this sounds more like poor error handling

    Yep, tracked this down, PR incoming. TLDR, the API is blocking your requests. The change will only show you a proper error, not get things working for you.

  6. Alessandro-JC commented on Jul 15, 2025

    @Alessandro-JC
    Author

    Thanks for your work, but unfortunately I get the same error (I unistalled and reinstalled the extension and entered a new generated API key)

  7. bendrucker commented on Jul 15, 2025

    @bendrucker
    Contributor

    Did you actually try the changes? PR isn't merged...

    It's also not going to fix your error, just give you a properly descriptive one.

  8. Alessandro-JC commented on Jul 16, 2025

    @Alessandro-JC
    Author

    I'm sorry, I don't know how to do that. I just wanted to report the error and I was redirected to GitHub. I hope other people can implement your fix in the extension. I understand though that your fix isn't gonna solve my problem (which I don't get because I have a regular API key) but just give me a proper error. Thank you anyway

  9. bendrucker commented on Jul 16, 2025

    @bendrucker
    Contributor

    All good, since you said it didn't work I thought you might've actually tried the modified extension. The PR will get merged soon enough. Do read the description in #20172 though, it explains what is likely happening. Your API key is unrelated. The API is protected by Cloudflare and when CF decides to reject a request it is responding with HTTP status 403, sending HTML instead of JSON. I reproduced this with curl which is blocked for some reason. I would bet you are seeing the same symptom even if the cause is different.

  10. bendrucker commented on Jul 16, 2025

    @bendrucker
    Contributor

    Also, if you do want to test the PR prior to merge, here's a guide to do that with all the required steps from scratch:

    https://developers.raycast.com/basics/review-pullrequest

  11. Alessandro-JC commented on Jul 16, 2025

    @Alessandro-JC
    Author

    I'll wait for the implementation. Thank you for your time and sorry for my ignorance...

  12. bendrucker commented on Jul 17, 2025

    @bendrucker
    Contributor

    All good, it's released, give it a shot. Assuming the root cause is as suspected, your next step would be to send an email to the maintainer of the API requesting an adjustment to their Cloudflare rules to prevent blocking. Could be VPN, country, etc. You'd at least want to share your IP address so they can check their logs.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionextension: macosicons

    Type

    No type

    Fields

    Priority

    None yet

    Severity

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions