ResponseE return null body
I get this recently: ResponseE result keep getting null value for its body and raw result. The request it self is successful. Maybe this is kind off serialization error, but i cannot find where is the errors came from.
I have check all my interceptors and all is well , they got the body response, but when it comes to final result, the body return null value.
I don't know where i should put the debugger to see the problem? How can i solve this?
Is there any method to intercept the serialization process? so i can see what is going on there?
I haven't worked on this myself, and haven't used Retrofit in years but you should be able to put a debug point here and see what is going wrong.
https://github.com/arrow-kt/arrow/blob/1083d7032d3fa54e3ea713bf6e91a6fb60384eff/arrow-libs/core/arrow-core-retrofit/src/main/kotlin/arrow/retrofit/adapter/either/ArrowResponseECallAdapter.kt#L50
If you find anything please let us know 🙏
cc\ @LordRaydenMK @lukaszkalnik
Hello!
Can you share more details? Error code, etc