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

403 Invalid API Token #25

Open
982074664 opened this issue Apr 27, 2022 · 3 comments
Open

403 Invalid API Token #25

982074664 opened this issue Apr 27, 2022 · 3 comments

Comments

@982074664
Copy link

login to server failed: SakuraFrp API Error (Status: 403, Text: 403 Invalid API Token)
SakuraFrp API Error (Status: 403, Text: 403 Invalid API Token)
请问怎么回事呢

@kasuganosoras
Copy link
Member

请检查你的 frps.ini 内指定的 api_token 是否和面板 /api/index.php 顶部的 API_TOKEN 一致。
以及,frps.ini 的 api_token 格式为:

api_token = TOKEN内容|节点ID

@zztbill
Copy link

zztbill commented Aug 3, 2022

节点ID是数据库中的nodes表的id字段 为数字。
frps.ini 的 api_token 格式为:
api_token = my_token|1
这种格式,节点id不是节点名称

@RWGLQJ
Copy link

RWGLQJ commented May 12, 2023

解决了吗兄弟

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants