Title: Problem whit REST API
Last modified: July 27, 2023

---

# Problem whit REST API

 *  Anonymous User
 * (@anonymized-6417141)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/problem-whit-rest-api/)
 * HiWhen i check the Site Health Status i end up whit this two errorsREST API Endpoint:
   [https://tokar86a.top/wp-json/wp/v2/types/post?context=edit](https://tokar86a.top/wp-json/wp/v2/types/post?context=edit)
   REST API Response: (http_request_failed) cURL error 7: Failed to connect to tokar86a.
   top port 443 after 1 ms: Couldn’t connect to serverThe first one seems to be 
   giving this information: “Sorry, you are not allowed to edit posts in this post
   type.”What can i do to fix this error?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-whit-rest-api%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Gerry](https://wordpress.org/support/users/metamezzo/)
 * (@metamezzo)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/problem-whit-rest-api/#post-16935946)
 * Hello, I can see that the website is on Cloudflare … please try with Cloudflare
   temporarily disabled; if you still get the cURL error, then it could be either
   a security plugin or something to do with your web host–in which case, you would
   need to contact your web host regarding the error. If you no longer get the error
   with Cloudflare disabled, then please get in touch with Cloudflare support so
   they can help troubleshoot. Good luck!

Viewing 1 replies (of 1 total)

The topic ‘Problem whit REST API’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Gerry](https://wordpress.org/support/users/metamezzo/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/problem-whit-rest-api/#post-16935946)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
