api-server icon indicating copy to clipboard operation
api-server copied to clipboard

get all depar, Msg: "api forbidden for contact assistant

Open gaodeyang opened this issue 11 months ago • 0 comments

image 2024-03-05T22:30:12.053+0800 ERROR services/department.go:37 get all depar, Msg: "api forbidden for contact assistant, hint: [1709649011424270725404086], from work.weixin.qq.com/devtool/query?e=48009" } openscrm/app/services.Department.Sync D:/Porduct/GO/api-server/app/services/department.go:37 openscrm/app/services.Syncs D:/Porduct/GO/api-server/app/services/init.go:19 main.init.0 D:/Porduct/GO/api-server/main.go:59 runtime.doInit C:/Users/gaode/sdk/go1.19.10/src/runtime/proc.go:6330 runtime.main C:/Users/gaode/sdk/go1.19.10/src/runtime/proc.go:233 panic: ClientError { Code: 48009, Msg: "api forbidden for contact assistant, hint: [1.127, more info at https://open.work.weixin.qq.com/devtool/query?e=48009" }

goroutine 1 [running]: openscrm/app/services.Syncs() D:/Porduct/GO/api-server/app/services/init.go:21 +0x30e main.init.0() D:/Porduct/GO/api-server/main.go:59 +0x485

核心问题是两个: get all depar, Msg: "api forbidden for contact assistant, hint: [1709649011424270725404086], from work.weixin.qq.com/devtool/query?e=48009" } panic: ClientError { Code: 48009, Msg: "api forbidden for contact assistant, hint: [1.127, more info at https://open.work.weixin.qq.com/devtool/query?e=48009" } 请问怎么解决?

gaodeyang avatar Mar 05 '24 14:03 gaodeyang