WordPressSharp
WordPressSharp copied to clipboard
Internal Server Error Calling GetPosts()
I'm getting an Internal Server Error exception when calling the method below. There are 827 published posts and set the number to that. If I remove the Number = 827 in the filter, it gets 15 posts as set in the Read setting of the blog.
var posts = client.GetPosts(new PostFilter { PostType = "post", PostStatus = "publish", Number = 827 }).OrderByDescending(a => a.Id).ToDictionary(x => x.Id);