Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResponseE return null body #3117

Open
stefanusayudha opened this issue Aug 21, 2023 · 2 comments
Open

ResponseE return null body #3117

stefanusayudha opened this issue Aug 21, 2023 · 2 comments

Comments

@stefanusayudha
Copy link

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?

@nomisRev
Copy link
Member

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.

Response.success(responseT.code(), ResponseE(responseT.raw(), body.right()))

If you find anything please let us know 🙏

cc\ @LordRaydenMK @lukaszkalnik

@JavierSegoviaCordoba
Copy link
Member

Hello!

Can you share more details? Error code, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants