Hi @alekmitch,
Thanks for reaching out!
All in One SEO uses the WordPress REST API to communicate with the WordPress application.
However, some plugins or firewalls may block access to the REST API, which can cause you to be unable to save data in AIOSEO.
Here’s the REST route below that you may want to whitelist on your site or server firewalls to see if that works for you: https://yourdomain.com/wp-json/aioseo/*
For Cloudflare, you may follow this URL: https://aioseo.com/docs/unable-to-save-settings-due-to-cloudflare-firewall-rules/
However, if you’re looking for a way to update meta descriptions programmatically, you may customize the code snippet mentioned in the below URL according to your needs: https://aioseo.com/docs/aioseo_description/
All of the filters and hooks can be found here: https://aioseo.com/doc-categories/filter-hooks/
Hope that helps! Please let me know if you’ve any other questions!