FWIW, I was receiving this mistake After i was unintentionally producing a GET request to an endpoint that was anticipating a Publish request. Presumably that was just that particular servers technique for dealing with the trouble.I deleted some unused imports and it fastened the issue for me. You can't not uncover a Class when you by no means try