Skip to content

[Bug]: 下载主题失败, 提示 Error: Request failed, status 403 #19

@probe301

Description

@probe301

Bug Description

首先感谢 PKMer 提供这项服务!

问题重现步骤:

登录 PKMer Market, 用它下载一个插件, 正常,
之后切到 "下载主题界面", 在确认自己还有剩余使用次数时, 选一个主题, 点击下载, 报错

welcome Pkmer Market
Error: Request failed, status 403
    at new t (app.js:1:1782334)
    at Bq (app.js:1:1782526)
    at app.js:1:1783203
    at app.js:1:237544
    at Object.next (app.js:1:237649)
    at a (app.js:1:236367)

截图1
image

更完整截图2
image

过程中, 唯一见到的 Notice 来自 lt.Notice(主题 ${e}安装失败!${i},5e3), 其余几个 Notice 未弹出


个人猜测: 也许与这个 requestUrl(url) 时, 里面含 emoji 或空格有关


最后, 仅剩一次下载次数了, 我把机会给了命名里 "不带空格, 不带 emoji" 的主题, 下载成功!

Relevant Screenshot

No response

To Reproduce

No response

Obsidian Version

1.5.8

Checklist

  • I updated to the latest version of the plugin.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions