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

[ERROR]Missing Strategy ID! #79

Closed
chenlhcodes opened this issue Jan 24, 2021 · 3 comments
Closed

[ERROR]Missing Strategy ID! #79

chenlhcodes opened this issue Jan 24, 2021 · 3 comments

Comments

@chenlhcodes
Copy link

您好,我在部署一个console和node后,调用API报错[ERROR]Missing Strategy ID!,且我已经启动了开发策略,请问是哪里配置错了呢。

@chenlhcodes
Copy link
Author

使用开放策略是需要传递Strategy-Id的请求头的吧,换成普通策略,加上Strategy-Id后就成功了

@eolinker
Copy link
Collaborator

有可能是您开启了开放策略后,没有发布配置

@eolinker
Copy link
Collaborator

开放策略是不需要传递策略ID的,普通策略需要传递策略ID,修改完配置确认无误后,记得发布配置才生效。

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

1 participant