I had the same experience, two times cancelled , then went to Garrafa immigration office. One officer helped to fill and upload.
Out of five boxes, you should type 1-your first name,2-your second name( if )3- surname( full initial in my case) 4-first name of your husband/father n( as per the passport details) 5- second/surname of your husband or father( as per passport).