Why is multisite rest API keep giving me results for root site only?

Why is multisite rest API keep giving me results for root site only?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)