Rhacophorus species seem to be difficult to addapt to captivity.
They are really sensitive to stress.
To help them adapt better, i found it's best to first let them settle.
Don't keep them in a enclosure to sterile and to low on hiding places.
A large setup, life plants with big leaves like Philodendron, monstera or scindapsus are great.
Keep them somewhat drier, around 60% and somewhat warmer, around 28 degrees celcius for the first period.
Give them a little bowl with water they can soke in and fill it with some softened water.
Spray lightly just before lights on or off to get them active.
Put in some night active insects like moths and small Gryllus assimilis, these are the best cricket species in my opinion since they aren't as loud, can't form any plagues indoors, have a somewhat better feeding value and don't jump as much as the others do.
Keep an eye out on the frogs to see if they don't develop sores or other strange things, mainly on the back and eyes.
When you find they develop the sores on the back, treatment with Enrofloxacine or Sulfaanilamide might sometimes work, but please contact a vet before applying first.
The whitish, swollen eyes might be treated by rinsing with 5% saline solution and using Polytrim, another method is using ciprofloxacin but i did not test that myself yet, altough i believe the person that suggested it being able to judge that quit well.
Yet again, contact you're vet first to see what the dosage is you need to use.
Just as an indication what you might do when you encounter the problems i have seen most in Rhacophorids.
Soon as thet are well settled,
try not to disturb them when you dont have to.
Stress them out once, and you will see 90% of them fall back all the way to the point you first got them.