We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用/open-apis/v1/messages以及/open-apis/user/v1/batch_get_id这两个API时,频繁出现Request failed with status code 400。且报错内容中,无response-header的信息,无法获取logid。
sdk封装了获取tenant_access_token的过程,为什么还会报400;该怎么把SDK内部的错误打印出来,该怎么获取请求失败时的logid
The text was updated successfully, but these errors were encountered:
初始化Lark Client如上,调用方式如下 此处日志中取的ctx.response.header.logid是这个RPC请求的,不是HTTP请求的。
Sorry, something went wrong.
可以用一个最小demo复现一下不?上面代码看起来是和框架&业务逻辑在一起,不好定位;
需要取到错误的话,可以try cacth一下,调用失败会把错误throw 出来:
try { await client.request() } catch(e) { console.log(e) }
No branches or pull requests
调用/open-apis/v1/messages以及/open-apis/user/v1/batch_get_id这两个API时,频繁出现Request failed with status code 400。且报错内容中,无response-header的信息,无法获取logid。
sdk封装了获取tenant_access_token的过程,为什么还会报400;该怎么把SDK内部的错误打印出来,该怎么获取请求失败时的logid
The text was updated successfully, but these errors were encountered: