pass error into create note template