使用OAuth认证时,调用coze.chat.retrieve()函数会保错:认证不合法
Open
- Dominant language
- TypeScript
- Stars
- 292
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
使用OAuth认证时,调用coze.chat.retrieve()函数会保错:cozepy.exception.CozeAPIError: code: 4100, msg: authentication is invalid
Contributor guide
Research direction
Start by reproducing the OAuth flow with the coze.chat.retrieve() entry point described in the issue and inspect how authentication is passed to the API. Compare the failing request and error response with the SDK's OAuth handling. Done means OAuth-authenticated retrieval succeeds without the 4100 authentication error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100