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

自己部署的开源版调用SDK的异步运行工作流报错

Open
#127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
api

Research direction

Start with org.springblade.plugin.ai.coze.AsyncRunRetWorkflowExample.java at line 44 and follow the stack trace into WorkflowRunHistoryService.retrieve and Utils.execute. Reproduce the asynchronous workflow call and investigate the reported missing session_key in the cookie. Done means the workflow history request no longer fails with authentication error, with the required authentication context documented or verified.

Written by the indexing model from the issue text.

Description

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by retrofit2.Platform (file:/Users/apple/apache-maven-3.9.0/repository/com/squareup/retrofit2/retrofit/2.9.0/retrofit-2.9.0.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of retrofit2.Platform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
executeID:7553542408210743296
14:49:12.801 [main] WARN com.coze.openapi.service.service.APIResponseCallAdapter - API error: 700012006 authentication failed: missing session_key in cookie
Exception in thread "main" java.lang.RuntimeException: CozeApiException(code=700012006, msg=authentication failed: missing session_key in cookie, logID=null)
at com.coze.openapi.service.utils.Utils.execute(Utils.java:58)
at com.coze.openapi.service.service.workflow.WorkflowRunHistoryService.retrieve(WorkflowRunHistoryService.java:26)
at org.springblade.plugin.ai.coze.AsyncRunRetWorkflowExample.main(AsyncRunRetWorkflowExample.java:44)
Caused by: CozeApiException(code=700012006, msg=authentication failed: missing session_key in cookie, logID=null)
at com.coze.openapi.service.service.APIResponseCallAdapter$1.execute(APIResponseCallAdapter.java:60)
at com.coze.openapi.service.utils.Utils.execute(Utils.java:36)
... 2 more

Dominant language
Java
Stars
214
Forks
97
PR merge metrics
No merged PRs in 30d

Getting set up

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 coze-dev/coze-java

All issues in coze-dev/coze-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.