WordPressSharp icon indicating copy to clipboard operation
WordPressSharp copied to clipboard

Internal Server Error Calling GetPosts()

Open GlennIM opened this issue 2 years ago • 0 comments

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);

GlennIM avatar Aug 02 '21 04:08 GlennIM