When I searched for the problem using an health plugin , it gave me this result
The REST API is one of the ways WordPress or other applications communicate with the server. For example, the editor screen relies on this to display and save your posts.
When testing the REST API, an unexpected result was returned:REST API endpoint:….wp-json/wp/v2/types/post?context=edit
REST API response: (403) Forbidden
I contacted the hosting operators and they said the problem was not theirs. Please help, thank you