Posting Consent With Category not working

Get Consent Categories

https://api.sky.blackbaud.com/commpref/v1/consent/categories

{

"count": 1,

"value": [

{

"description": "Web Form",

"inactive": false,

"sequence": 1

}

]

}

Post Consent with category and Error

https://api.sky.blackbaud.com/commpref/v1/consent/consents

{

"constituent_id": "99",

"channel": "Email",

"category": "Web Form",

"source": "Brighton Half Marathon",

"constituent_consent_response": "OptIn",

"consent_date": "2021-06-08T06:45:17+00:00"

}

Error
[ { "message": "The Channel id - Category id combination is invalid.", "error_name": "BadRequest", "error_code": 400, "raw_message": "The Channel id - Category id combination is invalid." } ]

Post Consent blank category Successful

https://api.sky.blackbaud.com/commpref/v1/consent/consents

{

"constituent_id": "99",

"channel": "Email",

"category": "",

"source": "Brighton Half Marathon",

"constituent_consent_response": "OptIn",

"consent_date": "2021-06-08T06:45:17+00:00"

}


If someone could advise please ?

Categories