Anjeer plant loses all leaves

Buying plants is a risky business, because there is no guarantee that the plant will survive for long

Anjeer fruit is good for health, as it has a lot of fiber.
For example the anjeer plant which was purchased online, was flourishing for a month or so, with leaves growing fast . However in the last few weeks the plant leaves became yellow and started falling off.
The leaves of other plants in the same pot also starting yellowing
All other plants, especially bean plants in the area are flourishing, only the anjeer plant has lost all leaves
Now on August 14, 2017, the plant has no leaves at all .