i got all API from WordPress except settings (/wp/v2/settings). its returning rest_forbidden error
{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 403
}
}
i got all API from WordPress except settings (/wp/v2/settings). its returning rest_forbidden error
{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 403
}
}
On
If somebody has an issue then try installing this plugin: https://wordpress.org/plugins/application-passwords/
Generate an application password from your profile and use that with basic auth, your username will be the same as WordPress username or email and the password will be new generated password.
You may also need to add HTTP header rewrite rule in your .htaccess file, for that please follow: https://github.com/WordPress/application-passwords/wiki/Basic-Authorization-Header----Missing
Your user does not have the correct permissions to access the data at that route. Out of the box the
/settings/route requires themanage_optionspermission (see theget_item_permissions_checkmethod).