Try our conversational search powered by Generative AI!

Return wrong message when deleting a profile with non-existent scope

Found in

EPiServer.Profiles.Client 1.9.0

Fixed in

EPiServer.Profiles.Client 1.9.0

(Or a related package)

Created

Jun 24, 2019

Updated

Jul 15, 2019

State

Closed, Done


Description

Using API to delete a profile with non-existent scope:

DELETE /api/v1.0/profiles/scope12311/90fe4260-ba3f-44a2-952b-75258864ef48

Expected: Return 404 Not Found with message which shows could not find scope
Observed: Return 404 Not Found with message Could not find profile like following:

{
    "error": {
        "code": "404",
        "message": "Could not find profile with given id.",
        "target": "",
        "details": []
    }
}