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

The request entity's media type 'application/x-www-form-urlencoded' is not supported for this resource #2

Closed
gopikap opened this issue Nov 7, 2014 · 2 comments
Labels
Issue type - bug Bugs in existing code that needs to be fixed.

Comments

@gopikap
Copy link
Contributor

gopikap commented Nov 7, 2014

"error":{
"code":"","message":"The request entity's media type 'application/x-www-form-urlencoded' is not supported for this resource

}

Steps to reproduce
Create a new course and try to sync it to the oneNote api. When we debug, we will be able to see this error while the code tries to post the new course to the oneNote using api.

This error comes due to not properly set the header

@gopikap gopikap added the Issue type - bug Bugs in existing code that needs to be fixed. label Nov 7, 2014
@vinhub
Copy link
Contributor

vinhub commented Nov 26, 2014

Not able to repro. It is possible that it got fixed due to some other fix, but if you are able to repro, then please provide more details in the steps.

Here are the steps I followed:

  • log in as admin
  • create a new course, enrol some students and teachers into it
  • log in as one of the students enrolled in the course
  • sign in to the Microsoft account for that student
  • the sign in process will create a new section in the student's notebook for the new course
  • no errors are reported.

@vinhub vinhub closed this as completed Nov 26, 2014
@gopikap
Copy link
Contributor Author

gopikap commented Nov 26, 2014

Yes this was fixed last time after the setHeader is added in the mypost method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue type - bug Bugs in existing code that needs to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants