wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
337 stars 129 forks source link

Error when uploading images #226

Closed lkenner closed 3 years ago

lkenner commented 3 years ago

Hi,

I'm facing an issue after uploading an image to Wordpress via Media.Create(). I'm receiving:

Error converting value "" to type 'WordPressPCL.Models.OpenStatus'. Path 'comment_status', line 1, position 465.

It seems like it's returning an empty value for the Status of comments.

BTW: the image is uploaded successfully!

Has somebody a workaround?

Thanks

ThomasPe commented 3 years ago

Interesting, do you have any settings or plugins configured that might interfere with this? Haven't seen this issue yet myself.

ThomasPe commented 3 years ago

I’m closing this issue because it has been inactive for a while. Please feel free to reopen if you still encounter this issue. Thanks!

mirasolutions commented 1 year ago

Hello, i have the same error, have you a solution ?

lkenner commented 1 year ago

Hello, i have the same error, have you a solution ?

Boy that was two years ago.. the project I used it for has failed multiple times since that..

mirasolutions commented 1 year ago

ok