Skip to main content
Best answer

WordPress permission_callback argument error


Notice: register_rest_route was called incorrectly. The REST API route definition for zapier/v1/token 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 /home2/sxbtrohj/public_html/wp-includes/functions.php on line 5313

 

 

getting the error on my site

Best answer by SamBBest answer by SamB

Just wanted to follow up here as discovered that a bug report has been opened for the “register_rest_route was called incorrectly” error that is appears in the WordPress system logs. I’ve added @sushma to the list of affected users and we’ll be in touch by email as soon as it’s been fixed.

In the meantime, it’s been reported that the WordPress integration itself functions as expected but this error is output in the WordPress logs. :)

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7472 replies
  • July 20, 2021

Hey @sushma - welcome to the Community! :)

From the look of that error message there seems to be an issue with the permissions when connecting Zapier to WordPress. To troubleshoot this, a good place to start would be the How to Get Started with WordPress on Zapier guide. It talks about the different requirements needed when connecting to WordPress and could be related to why you’re seeing that error here.

If you follow the guide and are still running into issues, your next best bet will be to reach out to our Support Team. They’ll be able to dig into the logs for your account and investigate further. They can be contacted through the Get Help form.

Hope that helps! 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7472 replies
  • Answer
  • September 30, 2021

Just wanted to follow up here as discovered that a bug report has been opened for the “register_rest_route was called incorrectly” error that is appears in the WordPress system logs. I’ve added @sushma to the list of affected users and we’ll be in touch by email as soon as it’s been fixed.

In the meantime, it’s been reported that the WordPress integration itself functions as expected but this error is output in the WordPress logs. :)