Could not locate API; are you sure it’s enabled? – WP REST API oAuth1

I am getting:

"Could not locate API; are you sure it's enabled?"

When I try to link client to WordPress via WP REST API.

Read More

I have installed & activated all necessary plugins and dependencies, including (WP-REST API, oAuth1 etc).

When I try HEAD http://mywebsitelink, it returns link with wp-json which indicates WP-API is working.

Also, when I try wp oauth1 add, it works fine and generates key and secret.

Any suggestion on how to fix this issue? Thanks in advance.

Related posts

1 comment

  1. If you are using the Client CLI package to connect the client with the WP REST API then please be informed that the latest version of the OAuth1.0a plugin doesn’t work with the Client CLI package.

    However, you can use an HTTP client to generate token credentials and then connect to the server using the OAuth1.0a plugin.

Comments are closed.