Auth0 Lock (Classic Login) - Additional Fields (Sign up not working)

I have managed to add some additional sign up fields to my Sign Up form, by following this Sign up form fields

In my auth0 settings - I have created a specific flow post user registration which includes a code block - however when I attempt to sign up I get the following errors:

Why?