We need to see your model so we can see how "Registration ID" is specified. It looks like Registration ID may be specified as a unique or non-empty field and you are leaving it blank or there is already a record with an empty field in the DB.
Also note that Web2py automatically creates an "id" field for each table which you would normally use as the key.

