Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update ACF fields on Media items #418

Open
seamusashley opened this issue Jan 30, 2025 · 0 comments
Open

Unable to update ACF fields on Media items #418

seamusashley opened this issue Jan 30, 2025 · 0 comments

Comments

@seamusashley
Copy link

We have tried every which way, but we cant get this to work, its always a 500 error. Here's our current code.

curl -X POST -v \ -H "Authorization: Bearer ${TOKEN}" \ -H "Content-Type: application/json" \ -d '{ "acf": { "test_media_acf": "A35BC0980D" } }' \ "https://x.x.x.x/wp-json/acf/v3/media/16"

Are we doing something wrong? Any suggestions we can try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant