将新的 JSS 应用程序导入 Sitecore 10.2 时出现 403 错误

发布于 2025-01-16 16:18:56 字数 242 浏览 2 评论 0原文

当尝试将新生成的 JSS 应用程序导入 Sitecore 时,jss 部署应用程序 --includeContent --includeDictionary 返回以下错误: 进口服务的意外响应: 状态消息:禁止 状态:403

版本信息: Sitecore 版本 10.02 JSS 版本:19.0

对于 jss 设置,我将 Sitecore 实例指定为不可通过网络共享访问。

When trying to import a newly generated JSS application into Sitecore, the jss deploy app --includeContent --includeDictionary returns the following error:
Unexpected response from import service:
Status message: Forbidden
Status: 403

Version info:
Sitecore version 10.02
JSS Version: 19.0

For jss setup, I specify the Sitecore instance as NOT accessible via a network share.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

星星的轨迹 2025-01-23 16:18:56

这可能是由于JSS版本的问题,我也有jss部署问题,详细信息是:https://rinkusitecore.wordpress.com/2021/03/20/app-deploy-issueforeach-import-for-sitecore-jss-using-sitecore-9-3/

似乎适用于 sitecore 10.0 ,需要jss版本15,签出:https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services.aspx

因此,请尝试基于 jss 版本 10 创建应用程序,例如 jss create react -b release/15.0.0

但在您提到的标题 sitecore 10.2,在这种情况下 JSS 版本是正确的(https://dev.sitecore.net/Downloads/~/link.aspx?_id=B5D60A30ADD1495C9B011E793AF6884F&_z=z)
所以先确认一下。

It may be issue due to JSS version, i also had jss deploy issue, details are: https://rinkusitecore.wordpress.com/2021/03/20/app-deploy-issueforeach-import-for-sitecore-jss-using-sitecore-9-3/

It seems for sitecore 10.0, need jss version 15, checkout: https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services.aspx

So try to create your app based on jss version 10 like jss create react -b release/15.0.0

But In your title you mentioned sitecore 10.2, in that case JSS version is correct (https://dev.sitecore.net/Downloads/~/link.aspx?_id=B5D60A30ADD1495C9B011E793AF6884F&_z=z)
So confirm it first.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文