REST Connector error handling

Well, I was having the same problem, I managed to solve it in this thread: