error pattern
REST User API. Mocked for WSN pub/sub and DCEP.