Skip to content
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

Getting CookComputing.XmlRpc.XmlRpcServerException 'Not Acceptable' exception #105

Open
GlennIM opened this issue Mar 24, 2020 · 1 comment

Comments

@GlennIM
Copy link

GlennIM commented Mar 24, 2020

I've been using WordPresSharp for some time now.

When this method is called I get this CookComputing.XmlRpc.XmlRpcServerException 'Not Acceptable' thrown.

            var client = new WordPressClient(new WordPressSiteConfig
            {
                BaseUrl = this.BaseUrl,
                Username = this.Username,
                Password = this.Password,
                BlogId = 1
            });

            var categories = client.GetTerms("category", new TermFilter());

CookComputing.XmlRpcV2 reference is Runtime Version: v2.0.50727 and Version: 3.0.0.0. How can I fix this?

@GlennIM
Copy link
Author

GlennIM commented Mar 25, 2020

I upgraded my blog to the latest version and the method client.GetTerms() worked once. Then I tried it again, and get the same exception message 'Not Acceptable'.

Oddly I have the same version of the code on another blog and it works all the time without getting that exception.

This exception has only surfaced on these 2 blogs in the last couple days and has been working fine. At a total loss why the exception is being thrown.

Any ideas?

Thanks, Glenn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant