CRamsan / CoreProject

This is a project that aims to provide a scalable architecture for mobile development.
https://cramsan.com/
1 stars 0 forks source link

Fix kotlinx.serialization.MissingFieldException: Field 'character_id' is required for type with serial name 'com.cramsan.ps2link.network.models.content.CharacterProfile', but it was missing in com.cramsan.ps2link.network.models.content.CharacterProfile.<init> #195

Closed CRamsan closed 3 years ago

CRamsan commented 3 years ago

Version 5.4.0-debug(1)

Stacktrace

com.cramsan.ps2link.network.models.content.CharacterProfile.;

com.cramsan.ps2link.network.models.content.CharacterProfile$$serializer.deserialize;

com.cramsan.ps2link.network.models.content.Outfit$$serializer.deserialize;

com.cramsan.ps2link.network.models.content.response.Outfit_response$$serializer.deserialize;

io.ktor.client.features.json.JsonFeature$Feature$install$2.invoke;

io.ktor.client.features.HttpCallValidator$Companion$install$2.invoke;

com.cramsan.ps2link.appcore.census.DBGServiceClientImpl$getOutfit$1.invokeSuspend;

Reason

kotlinx.serialization.MissingFieldException: Field 'character_id' is required for type with serial name 'com.cramsan.ps2link.network.models.content.CharacterProfile', but it was missing

Link to App Center