Hi @rojgarsangam,
The 403 forbidden might be due to the firewall rule or any other setting that might be affecting it.
Can you please add the below constant in wp-config.php and check if it solves the issue?
define( 'AIOS_NO_FIREWALL', true);
If yes remove that constant from wp-config.php and try disable one by one below feature and check if any making issue.
1) WP Security > Firewall > PHP Rules – WP REST API Can you please cross check the Disallow unauthorized REST requests:
2) Deny bad query string – WP Security > Firewall > PHP rules tab. URL Security – Deny bad query strings: uncheck the checkbox and save
3) Advanced char filter – WP Security > Firewall > PHP rules tab. – String filtering Enable advanced character string filter :uncheck the checkbox and save
4) 5g firewall rules – WP Security > Firewall > 6G Blacklist firewall rules tab. Enable legacy 5G firewall protection uncheck the checkbox and save
5) 6g firewall rules – WP Security > Firewall > 6G Blacklist firewall rules tab. Enable 6G firewall rules – uncheck the checkbox and save
Regards