[wp-trac] [WordPress Trac] #56919: REST API term embed 401 - not allowed to view terms for this post
WordPress Trac
noreply at wordpress.org
Thu Oct 27 10:30:13 UTC 2022
#56919: REST API term embed 401 - not allowed to view terms for this post
--------------------------+-----------------------------
Reporter: prionkor | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.0.3
Severity: blocker | Keywords:
Focuses: |
--------------------------+-----------------------------
Setup
1. WP 6.0.3
2. CPT attached with multiple taxonomies all of them registered as
`show_in_rest` `true`
When calling `GET` at CPT rest endpoint with `&embed=1` the path
`_embedded.wp:term` returns 401 json object with error message `Sorry, you
are not allowed to view terms for this post`.
This issue is breaking my applications and I had to rollback to `6.0.2`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56919>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list