Adds plugin error response