Discussions
Course 'Delete' endpoint behaviour
Hi,
I was facing an issue in my Degreed2 integration with edx. From our Splunk logs, I confirmed that we attempted a course deletion and (few minutes later) tried recreating same course but we got 409 error "Resource already exists".
But our degreed client reported that course wasn't visible to them.
Now I've 2 questions:
1. I think deleting a course will mark it as absolute? if yes then instead of re-creating same course, I'll have to update it and set `obsolete` to `false`? OR
2. If a course was previously deleted, does re-creating it will automatically set `obsolete`to`true`?
Regards,
Hamza Waleed
Posted by Hamza about 10 hours ago
Skill taxonomy export
Good day! Is it possible to export the existing Degreed skills taxonomy?
Posted by Arina Egorova about 1 month ago
Special characters like àóü get stored as È in the API
When creating content like courses, and having a title like "Título", with an accentuated character, the API responds with "TÈtulo". This doesn't happen when creating the exact same course through the UI, so it's probably an issue with the API itself. It also happens with the "Try It!" feature in the API documentation, so it's probably not caused by our integration.
Posted by Carlos Cote 2 months ago
Hi, I'm using create a new group API. We are trying to pass special characters in the Name and description feild like apostrophe(') at the input, But we are getting ' at the output instead of (') character. Why this is happening?
Ex:
INPUT: Name-Shrikant's group.
OUTPUT: Name-Shrikant's group.
Posted by Shrikant M J 3 months ago
[Error] Invalid user identifier on completions API
Whenever we try to make an API call to submit completions for a customer's learner using the completions endpoint([https://base-api-url/api/v2/completions](https://api.betatest.degreed.com/api/v2/completions)), we get this error "Invalid user identifier". We are using email as the identifier type and we are getting this error for a lot of learners. I can confirm that all these learners exist on the customers side and are valid learners. Posting below an example request/response body for reference.
**REQUEST**
```
{
"data": {
"type": "completions",
"attributes": {
"user-id": "[email protected]",
"user-identifier-type": "Email",
"content-id": "ABC+XYZ",
"content-id-type": "ExternalId",
"content-type": "course",
"completed-at": "2023-10-04T19:11:35.077Z",
"percentile": 60.0
}
}
}
```
**RESPONSE**
```
Client create_course_completion failed: {
"errors": [
{
"id": "exampleid",
"code": "bad-request",
"status": 400,
"title": "Bad Request",
"detail": "Invalid user identifier: [email protected]",
"source": "[email protected]"
}
]
}
```
Any help on this will be highly appreciated!
Posted by Sameen Fatima 6 months ago