-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
403 Forbidden when updating a MediaItem I just created? #256
Comments
Further details: Here's the request:
And response:
And this is all I see in the server access logs (with comments for what I believe is happening at each stage
Is there anything else I can retrieve that would help debug this? |
can you link it to a regular (non-Woocommerce) post? |
I don't think the site has any non-WooCommerce posts, but I'll see if I can get one created and try it out |
Hi I am having a similar issue with uploading media images and I am getting 403 did you get a fix for this issue? |
I create a MediaItem (uploading an image)
ma
, then create a postp
using WooCommerce. This works fine, both the media item and post are created fineI then try to update the MediaItem such that
mi.Post = p.ID
At that point, I get a 403 Forbidden on the call to Media.UpdateThis happens regardless of whether I use the original returned
ma
item, or create a new MediaItem and just setId
andPost
Am I doing something wrong, or is this a bug? I don't understand why I would get a 403 when Updating an image when I was just able to successfully create the image
The text was updated successfully, but these errors were encountered: