oapi-sdk-java icon indicating copy to clipboard operation
oapi-sdk-java copied to clipboard

Results 98 oapi-sdk-java issues
Sort by recently updated
recently updated
newest added

InternalAppAccessTokenSample对应的说明文档返回响应是: # 示例响应 ```json { "code": 0, "msg": "success", "tenant_access_token": "t-caecc734c2e3328a62489fe0648c4b98779515d3", "expire": 7140 } ``` 实际调用main测试放回的内容: ![image](https://github.com/larksuite/oapi-sdk-java/assets/38148255/3c1cfd0c-dce9-46ff-8361-6f9ccc447996) 没有对应的tenant_access_token

如题。我们在使用事件回调和卡片消息回调时同样的key和token,一个能通过校验,一个不能。通过排查,发现两个方法SDK的签名验证逻辑的代码不一样,一个用的是key,一个用的token ` private boolean verifySign(EventReq eventReq) throws NoSuchAlgorithmException { if (Strings.isEmpty(verificationToken)) { return true; } String cipherEventJsonStr = new String(eventReq.getBody(), StandardCharsets.UTF_8); String timestamp, nonce, sourceSign, targetSign; timestamp = eventReq.getHeaderFirstValue(Constants.X_LARK_REQUEST_TIMESTAMP); nonce...

如题: * 修正FormFieldVariableDatetimeValue接收时间字段(毫秒)类型为java.lang.Long 该Bug会导致SDK解析响应数据时报错

当配置方式为使用长连接接收事件时 doWithoutValidation方法增加 setPlain( body解密后的json-string) 保证和doHandle的EventReq中的setPlain(plainEventJsonStr)数据一致

基于com.lark.oapi.card.CardActionHandler添加了回调,没法解析卡片事件类型“card.action.trigger”回调 官方文档如下 https://open.feishu.cn/document/uAjLw4CM/ukzMukzMukzM/feishu-cards/card-callback-communication

Client client = Client.newBuilder(appId, appSecret).logReqAtDebug(true).build(); ListAppTableRecordResp recordResp = client.bitable().appTableRecord().list(ListAppTableRecordReq.newBuilder() .appToken(appToken) .tableId(tableId) .displayFormulaRef(false) .pageToken(index) .pageSize(MAX_PAGE_LIMIT) .build()); 按照readme文档的安装步骤,maven前后分别引入了2.0.6和2.0.10版本的sdk依赖。用以上代码调用飞书接口,经常出现 client time out异常。

![baocuo](https://github.com/larksuite/oapi-sdk-java/assets/42058262/3da4db4f-6032-4a86-a4dd-5df10401e01c) 管理后台入职时间可以随便修改,当入职时间为2099年时 时间戳=4081276800 此时使用接口部门id获取部门下人员是出现反序列化错误

com.lark.oapi.core.httpclient.ApacheHttpClientTransport#execute:81行 ![image](https://github.com/larksuite/oapi-sdk-java/assets/40916709/ba02f538-0f03-4d94-a889-7f430fd8651c) 已经自己写实现类解决了该问题。 希望可以像OkHttpTransport一样提供一个配置项 ![image](https://github.com/larksuite/oapi-sdk-java/assets/40916709/d9592199-db15-4cd5-9d11-0ee17c773b09)

考勤打开-批量查询用户人脸识别信息,sdk限制get请求不能有body,但接口设计中将参数放在了请求提中。 https://open.feishu.cn/document/server-docs/attendance-v1/user_setting/query

文档的示例,执行结束会卡一下才退出。