Description
When running this API learn/api/public/v1/users in POST method to create a duplicated account, the error message does not correspond to the one from the documentation.
Steps to Replicate
Log into Blackboard Learn as an Administrator
Register a REST API in <server> to POST the API there
Use Postman and run the API with this JSON:
{"name": {
"given": "test_support",
"family": "test_support"
},
"password": "test_support2",
"userName": "test_support2"
}See that the user is created successfully
Now, run it again with the same JSON
Observed Behavior:
Wrong Error message logged
Expected Behavior:
This error message is logged:
{
"status": 400,
"message": "Failed to create user!:A database error occurred.:"
}
Affected Versions
Learn 4000.12.0
Learn 4000.15.0
Learn 4000.17.0
Target Release
Future Reference
