this problem occured after i updated all the used libraries in the project and migrated to androidx , the json response is the same as before , and all the code as well.