收藏
回答

调用创建日程接口失败返回40058错误怎么搞?

您好,麻烦帮我看一下。好像很多人都遇到这样的坑。到底是怎么格式不对呢?搞了一上午都不行。

missing paramters organizer, hint: [1619752131_171_5624a25d1dccfd5fff0c8658c5e69f16], from ip: 111.230.234.172, more info at https://open.work.weixin.qq.com/devtool/query?e=40058

回答关注问题邀请回答
收藏

2 个回答

  • 企业微信运营专员-千夜
    企业微信运营专员-千夜
    2021-05-06

    你好,看日志请求的内容里面只有 oReq {"agentid":1000036} agentid参数,没有其他的请求内容,可以先检查下是否存在非法字符这些导致无法解析

    2021-05-06
    有用
    回复
  • 天下至诚
    天下至诚
    2021-04-30

    请求参数:

    {

    "schedule": {

    "organizer": "sunzecai",

    "start_time": 1619739000,

    "end_time": 1619753400,

    "summary": "日程标题",

    "attendees": [{

    "userid": "98"

    }],

    "description": "这是描述部分",

    "reminders": {

    "is_remind": 1,

    "remind_before_event_secs": 60,

    "repeat_type": 1,

    "repeat_until": 0,

    "is_custom_repeat": 1,

    "repeat_interval": 1,

    "repeat_day_of_week": [],

    "repeat_day_of_month": [],

    "timezone" : 8

    },

    "location": "xxx",

    "cal_id": "wcDVKBCwAAJ_WjaINeDSkvD_r4Mows6w"

    } ,

    "agentid": 1000036

    }

    请求头:

    POST /cgi-bin/oa/calendar/add?debug=1&access_token=GlTqP9GpuhHLPh0_Ee1zWjxw7fiyo2kLgSQf7kVbEpDtGFPWSgnbhHV16GMnjtxl-d7e6P3vSXrxb9OoalFTndMQVRJV_P5MGaF-TgeGoWO9Hh6ILYXzuiqTff7GAKJ8lhfxvRvYHEiUOX1nO-S-SePhNKyVBbg4kavkP9Rsr4dYKuMIyN52-9qidJvAzU7Q81EWovcSqAn5YLjlt5i1bQ HTTP/1.1

    X-Forwarded-For: 111.230.234.172

    PROXY_FORWARDED_FOR: ACEAE66F,0000,0,0,0,0,0,0,0

    WEWORK_PROXY_FORWARDED_FOR: 111.230.234.172

    Connection: Keep-Alive

    Pragma: no-cache

    X-InnerReqId: 160088400.61595.1619777247.47953

    Host: qyapi.weixin.qq.com

    Content-Type: application/json; charset=utf-8

    Accept: */*

    Content-Length: 729


    2021-04-30
    有用
    回复
登录 后发表内容