Wordpress Create a post error code: rest_no_route

Hi!

I’m newer with Make and I’m trying to configure a Wordpress module for creating a Post. I could configure the connection but, If I try to configure the rest of the fields, I have this error only in Author Field

Captura de pantalla 2024-06-04 a las 23.00.44

I had the same error in other fields like Type or Categories but I could fix it changing the WordPress Rest API Base URL from https://www.mysite.com/wp-json/wp/v2/ to https://www.mysite.com/wp-json/

How could I fix this error for Author field?

Thanks in advance

I had the same issue before. To fix it, remove and create a new connection and make sure the Make connector plugin is installed on your WordPress site. Also, ensure you’re using the correct API Base URL: https://www.yourwebsite.com/wp-json/ . This should resolve the error with the Author field.

Welcome to the Make community!

It seems that your installation of Wordpress doesn’t support the /wp-json/wp/v2/users endpoint:

You can click here to verify: https://www.danirico.com/wp-json/wp/v2/users

Please contact your Wordpress developer for further assistance, as this doesn’t seem to be a Make issue.

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

1 Like

Hi samliew, Bilal_Mansouri

@Bilal_Mansouri I tried that solution but it doesn’t work. I remove the connection, create another one with https://www.mysite.com/wp-json/ but the Author field shows the same error.

@samliew The installation of Wordpress supports that endpoint but only with a JWT Token (for security reasons). The API key showed in Make connector plugin doesnt work with this endpoint, how could I use a JWT in the Wordpress Connection?