wei123456 发表于 2022-6-14 09:10:52

企微同步问题

在人员管理当中把这个人员给删除掉了, 怎么通过企微在同步回来

wei123456 发表于 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"
}

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

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

论坛管理员 发表于 2022-6-14 09:59:52

看起来是您这个电话号码已经存在了,您可以在生产环境上查询一下
页: [1]
查看完整版本: 企微同步问题