WordPress REST API – Create post not working with 401 response but list posts working

WordPress REST API – Create post not working with 401 response but list posts working

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