Some times there might be issue when using some rest API end points especially using web designing platforms like WordPress , Shopify etc. What makes issue for me is that when using the REST API endpoint for fetching users from wordpress.
Its found to be that it was making a 403 server issue on fetching the API. This has to be fixed from the root of the server. So we have to make access the server panel for this.
What we have to do is to get into the plesk panel.
On the dashboard > tools & settings > search for web application firewall
Inside the section turn off the Web application firewall mode.
The issue will be solved if the actual problem is a firewall related issue
