andorid 接入 implementation 'com.coze:coze-api:0.2.8' 报错误 !!
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the reported exception with implementation 'com.coze:coze-api:0.2.8', then trace serialization from CreateChatReq through messages to MessageContentType. Done means the request serializes successfully without the reported InvalidDefinitionException.
Written by the indexing model from the issue text.
Description
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class com.coze.openapi.client.connversations.message.model.MessageContentType and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.coze.openapi.client.chat.CreateChatReq["messages"]->java.util.Collections$SingletonList[0]->com.coze.openapi.client.connversations.message.model.Message["contentType"])
No serializer found for class com.coze.openapi.client.connversations.message.model.MessageContentType and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
- Dominant language
- Java
- Stars
- 214
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coze-dev/coze-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
PCMConfig类中缺少关键属性 Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
sdk 和官方文档不一致 Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in coze-dev/coze-java
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·