将新的 JSS 应用程序导入 Sitecore 10.2 时出现 403 错误
当尝试将新生成的 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能是由于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.