Updated paste to use new API. Now error works again