Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete Subscription: MethodNotAllowed

When I get a user's subscriptions and attempt to delete one I'm getting a "MethodNotAllowed". Any idea why the DELETE is not working? My test user has only 1 existing subscription.

Best Answer
0 Votes
3 REPLIES 3

Can you share a log of the actual HTTP request that you're making (with the Authorization header redacted)?

Best Answer
0 Votes

Not exactly, but attempting to verify the correct request on one of our servers I can see we have an issue with the VNext .Net HttpClient.DeleteAsync call. It is sending a GET 😞

 

Thanks for the help @JeremiahFitbit.

Best Answer
0 Votes

I don't think it's likely that anybody else will have this issue but just in case... The issue we had is with the VNext DNX Core. The DeleteAsync is sending a GET instead of DELETE in the HTTP call. Switching to the DNX Mono resolved the issue.

Best Answer