Programmatically trigger the gutenberg save

Have you tried using savePost?

https://developer.wordpress.org/block-editor/reference-guides/data/data-core-editor/#savepost

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