larksuite / larksuite/oapi-sdk-java

InternalAppAccessTokenSample获取值data是null

Open
#89 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

InternalAppAccessTokenSample对应的说明文档返回响应是:

示例响应

{
  "code": 0,
  "msg": "success",
  "tenant_access_token": "t-caecc734c2e3328a62489fe0648c4b98779515d3",
  "expire": 7140
}

实际调用main测试放回的内容:
image

没有对应的tenant_access_token

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with InternalAppAccessTokenSample and run its main method to reproduce the null data response. Compare the sample's behavior with the documented example response, focusing on why tenant_access_token is absent. Done means the sample returns a response containing the expected tenant_access_token.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.