请问以下错误,如何排查,谢谢!
访问fileID 错误 <img src="https://solution-community.wps.cn/uploads/post/5kX8w6DKsVN.png" alt="image.png"/>
eoffice 10如果直接访问,错误如下: <img src="https://solution-community.wps.cn/uploads/post/5kX8BPtMdwL.png" alt="image.png"/>
请问以下错误,如何排查,谢谢!
访问fileID 错误 <img src="https://solution-community.wps.cn/uploads/post/5kX8w6DKsVN.png" alt="image.png"/>
eoffice 10如果直接访问,错误如下: <img src="https://solution-community.wps.cn/uploads/post/5kX8BPtMdwL.png" alt="image.png"/>
您好,40002说明 用户凭证,即 x-weboffice-token 头无效。
接入业务方根据自身的鉴权需要自定义 Token。Token 在前端初始化 SDK 时传入, WebOffice 将会在回调接入业务方接口时通过 Header 的 X-Weboffice-Token 字段回传,业务方可在其所实现的接口上检查当前用户的 Token,用于鉴权。