Add RawData and 404 error response for plugin action