arrow icon indicating copy to clipboard operation
arrow copied to clipboard

ResponseE return null body

Open stefanusayudha opened this issue 2 years ago • 2 comments

image

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?

stefanusayudha avatar Aug 21 '23 20:08 stefanusayudha

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

nomisRev avatar Aug 28 '23 08:08 nomisRev

Hello!

Can you share more details? Error code, etc

JavierSegoviaCordoba avatar May 22 '24 10:05 JavierSegoviaCordoba