Why do I get error code 400 when I Post Topic to D2L?

request body (as described here):
{"Title":"123",
"ShortTitle":"",
"Type":1,
"TopicType":3,
"Url":"/d2l/common/dialogs/quickLink/quickLink.d2l?ou=10593&type=lti&rcode=04E1284B-7166-4938-B8A7-6F359D1AA5FC-195613&srcou=10593",
"StartDate":null,
"EndDate":null,
"DueDate":null,
"IsHidden":false,
"IsLocked":false,
"OpenAsExternalResource":false,
"Description":{"Text":"","Html":""},
"MajorUpdate":null,
"MajorUpdateText":"",
"ResetCompletionTracking":null,
"Duration":null}
response:
{"type":"http://docs.valence.desire2learn.com/res/apiprop.html#invalid-parameters","title":"Invalid Parameters","status":400,"detail":"Request has missing or invalid parameters."}
The module id 366347 exists in course content. I also tried to change Description value to null, but have the same result.
Note that GET request to "https://partners.brightspace.com/d2l/api/le/1.12/10593/content/modules/366347/structure/?x_a=......................." successfully returns data with status 200 OK . Also there were no problems with POST requests to other API paths.
Thank you!
Categories
- All Categories
- 6 Thought Leadership
- 7 Known and Fixed Issues
- 6 Product Roadmap
- 553 Archived
- 10 Accessibility
- 28 Community Corner
- 2 Welcome
- Updates
- Member Spotlights
- 4 Events
- 242 Development
- 746 Customer Enablement
- Evaluate - Assess Student Learning
- Get Comfortable with Brightspace
- Communicate - Engage with Your Students
- 1 Create - Set up your Brightspace course
- Action - Add or create student activities
- 26 Partners
- 8 Product News
- 2022
- 2022 Release Notes
- 2021 Release Notes
- 4 Training
- andycat