Cause
The operation is not valid in the current state. In the Communications and Surveys write APIs it responds 422 when the requested state is not one of the accepted ones, listed in details.allowed.
What to do
Check the state of the resource or use a value from details.allowed.
application/problem+json
{
"type": "https://masnet.com/developers/errors/invalid_state",
"title": "Invalid state",
"status": 409,
"detail": "...",
"code": "invalid_state",
"correlation_id": "..."
}