查看: 2796|回复: 2

企微同步问题

升级   6.33%

19

主题

2

回帖

219

积分

中级会员

Rank: 3Rank: 3

积分
219
发表于 2022-6-14 09:10:52 | 显示全部楼层 |阅读模式
在人员管理当中把这个人员给删除掉了, 怎么通过企微在同步回来
回复

使用道具 举报

升级   6.33%

19

主题

2

回帖

219

积分

中级会员

Rank: 3Rank: 3

积分
219
发表于 2022-6-14 09:43:20 | 显示全部楼层
通过调用jaxrs/qiyeweixin/pull/sync接口返回如下:
{
    "readyState": 4,
    "responseText": "{\n  \"type\": \"error\",\n  \"message\": \"check persist stirngValue citationNotExists error, class:com.x.organization.core.entity.Person, field:mobile, value: 1581505823* must be a not existed in class:class com.x.organization.core.entity.Person, fields:mobile.\",\n  \"date\": \"2022-06-14 09:36:15\",\n  \"spent\": 184295,\n  \"size\": -1,\n  \"count\": 0,\n  \"position\": 0\n}",
    "responseJSON": {
        "type": "error",
        "message": "check persist stirngValue citationNotExists error, class:com.x.organization.core.entity.Person, field:mobile, value: 1581505823* must be a not existed in class:class com.x.organization.core.entity.Person, fields:mobile.",
        "date": "2022-06-14 09:36:15",
        "spent": 184295,
        "size": -1,
        "count": 0,
        "position": 0
    },
    "status": 500,
    "statusText": "Server Error"
}

通过该手机号查询,只查询到一条人员数据

测试环境和生产环境关联的同一个企微, 测试环境同步正常
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
37139
发表于 2022-6-14 09:59:52 | 显示全部楼层
看起来是您这个电话号码已经存在了,您可以在生产环境上查询一下
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread