CPT returns 403
-
I’ve been trying for a full day to get a really basic install of the WP-API to answer to a custom post type (in this case called ‘transactions’).
The post type is set up and fully public, and it’s existence is acknowledged by querying
example.com/wp-json/posts/types/transactions.I’m getting the expected response from
example.com/wp-json/posts?type=pagebut a 403 when trying to accessexample.com/wp-json/posts?type=transactions.A GET to a CPT doesn’t require authentication does it?
I really can’t think of anything else to try! If anyone has any advice I’d really appreciate it. I’m running the site on nginx, PHP v5.4 if it makes any difference.
The topic ‘CPT returns 403’ is closed to new replies.