Title: Rest API error
Last modified: December 2, 2020

---

# Rest API error

 *  Resolved [hafman](https://wordpress.org/support/users/hafman/)
 * (@hafman)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/rest-api-error-21/)
 * I’m getting the following Notice 3 times when clicking “New Post” in WP Admin
   “
   Notice: register_rest_route was called incorrectly. The REST API route definition
   for notification/v1/repeater-field/(?P\d+) is missing the required permission_callback
   argument. For REST API routes that are intended to be public, use __return_true
   as the permission callback. Please see Debugging in WordPress for more information.(
   This message was added in version 5.5.0.) in /opt/lampp/htdocs/wp5/wp-includes/
   functions.php on line 5229”
 * And it appears to be related to recent updates in WordPress core.
 * In Firefox these flash up and then the edit screen loads. In Chrome the Notices
   remain and the editor doesn’t load.
    -  This topic was modified 5 years, 6 months ago by [hafman](https://wordpress.org/support/users/hafman/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/rest-api-error-21/#post-13845507)
 * Thanks for the report! This is already fixed and will be released in the next
   version.

Viewing 1 replies (of 1 total)

The topic ‘Rest API error’ is closed to new replies.

 * ![](https://ps.w.org/notification/assets/icon-256x256.gif?rev=3476901)
 * [Notification - Custom Notifications and Alerts for WordPress](https://wordpress.org/plugins/notification/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/notification/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/notification/)
 * [Active Topics](https://wordpress.org/support/plugin/notification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/notification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/notification/reviews/)

## Tags

 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)
 * [php notices](https://wordpress.org/support/topic-tag/php-notices/)
 * [WordPress 5.5](https://wordpress.org/support/topic-tag/wordpress-5-5/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/rest-api-error-21/#post-13845507)
 * Status: resolved