I’ve integrated with WordPress many times, but this is the first time I’ve run into this issue.
Using a fresh WP admin account and an app password, I can successfully create posts without any problem. But with the exact same credentials (admin role), I’m unable to upload media through the /wp-json/wp/v2/media endpoint.
I’ve searched around but couldn’t find any clear guidance or similar cases.
Has anyone experienced this before or know what might cause it?
Any help would be greatly appreciated!
If you want, I can also provide a more technical version with logs, headers, or potential causes.