Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

自建应用获取 tenant_access_token 的封装获取数据为null

Open Beginner friendly
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java

Research direction

Start with InternalTenantAccessTokenResp and the client.auth().v3().tenantAccessToken().internal(req) entry point, then compare its handling with the documented JSON response. Verify the behavior against versions 2.8.1–2.8.5 and ensure the returned tenant_access_token can be retrieved through the response API rather than requiring a nonexistent data field.

Written by the indexing model from the issue text.

Description

api地址

InternalTenantAccessTokenResp resp = client.auth().v3().tenantAccessToken().internal(req);
resp.getData()
{
  "app_access_token": "xxxxxxx",
  "code": 0,
  "expire": 114514,
  "msg": "ok",
  "tenant_access_token": "xxxxxx"
}

官方示例的代码返回的data都是null,测试了2.8.1~2.8.5均无法获得有效数据,不过这个接口返回的确实没有data,那你倒是得给我个方法拿出来token吧

Dominant language
Java
Stars
311
Forks
115
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from larksuite/oapi-sdk-java

All issues in larksuite/oapi-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.