Woocommerce Rest Api Categories problem [closed]

am_ is correct, rest API categories has hide_empty default to true. change your request to the following:
/wp-json/wc/v3/products/categories?hide_empty=false

Source

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