diff --git a/internal/client-go/model_error_browser_location_change_required.go b/internal/client-go/model_error_browser_location_change_required.go
index 4fdf23795557..6a4e8631dc6a 100644
--- a/internal/client-go/model_error_browser_location_change_required.go
+++ b/internal/client-go/model_error_browser_location_change_required.go
@@ -17,7 +17,7 @@ import (
 
 // ErrorBrowserLocationChangeRequired struct for ErrorBrowserLocationChangeRequired
 type ErrorBrowserLocationChangeRequired struct {
-	Error *ErrorGeneric `json:"error,omitempty"`
+	Error *GenericError `json:"error,omitempty"`
 	// Points to where to redirect the user to next.
 	RedirectBrowserTo *string `json:"redirect_browser_to,omitempty"`
 }
@@ -40,9 +40,9 @@ func NewErrorBrowserLocationChangeRequiredWithDefaults() *ErrorBrowserLocationCh
 }
 
 // GetError returns the Error field value if set, zero value otherwise.
-func (o *ErrorBrowserLocationChangeRequired) GetError() ErrorGeneric {
+func (o *ErrorBrowserLocationChangeRequired) GetError() GenericError {
 	if o == nil || o.Error == nil {
-		var ret ErrorGeneric
+		var ret GenericError
 		return ret
 	}
 	return *o.Error
@@ -50,7 +50,7 @@ func (o *ErrorBrowserLocationChangeRequired) GetError() ErrorGeneric {
 
 // GetErrorOk returns a tuple with the Error field value if set, nil otherwise
 // and a boolean to check if the value has been set.
-func (o *ErrorBrowserLocationChangeRequired) GetErrorOk() (*ErrorGeneric, bool) {
+func (o *ErrorBrowserLocationChangeRequired) GetErrorOk() (*GenericError, bool) {
 	if o == nil || o.Error == nil {
 		return nil, false
 	}
@@ -67,7 +67,7 @@ func (o *ErrorBrowserLocationChangeRequired) HasError() bool {
 }
 
 // SetError gets a reference to the given ErrorGeneric and assigns it to the Error field.
-func (o *ErrorBrowserLocationChangeRequired) SetError(v ErrorGeneric) {
+func (o *ErrorBrowserLocationChangeRequired) SetError(v GenericError) {
 	o.Error = &v
 }
 
diff --git a/internal/httpclient/model_error_browser_location_change_required.go b/internal/httpclient/model_error_browser_location_change_required.go
index 4fdf23795557..6a4e8631dc6a 100644
--- a/internal/httpclient/model_error_browser_location_change_required.go
+++ b/internal/httpclient/model_error_browser_location_change_required.go
@@ -17,7 +17,7 @@ import (
 
 // ErrorBrowserLocationChangeRequired struct for ErrorBrowserLocationChangeRequired
 type ErrorBrowserLocationChangeRequired struct {
-	Error *ErrorGeneric `json:"error,omitempty"`
+	Error *GenericError `json:"error,omitempty"`
 	// Points to where to redirect the user to next.
 	RedirectBrowserTo *string `json:"redirect_browser_to,omitempty"`
 }
@@ -40,9 +40,9 @@ func NewErrorBrowserLocationChangeRequiredWithDefaults() *ErrorBrowserLocationCh
 }
 
 // GetError returns the Error field value if set, zero value otherwise.
-func (o *ErrorBrowserLocationChangeRequired) GetError() ErrorGeneric {
+func (o *ErrorBrowserLocationChangeRequired) GetError() GenericError {
 	if o == nil || o.Error == nil {
-		var ret ErrorGeneric
+		var ret GenericError
 		return ret
 	}
 	return *o.Error
@@ -50,7 +50,7 @@ func (o *ErrorBrowserLocationChangeRequired) GetError() ErrorGeneric {
 
 // GetErrorOk returns a tuple with the Error field value if set, nil otherwise
 // and a boolean to check if the value has been set.
-func (o *ErrorBrowserLocationChangeRequired) GetErrorOk() (*ErrorGeneric, bool) {
+func (o *ErrorBrowserLocationChangeRequired) GetErrorOk() (*GenericError, bool) {
 	if o == nil || o.Error == nil {
 		return nil, false
 	}
@@ -67,7 +67,7 @@ func (o *ErrorBrowserLocationChangeRequired) HasError() bool {
 }
 
 // SetError gets a reference to the given ErrorGeneric and assigns it to the Error field.
-func (o *ErrorBrowserLocationChangeRequired) SetError(v ErrorGeneric) {
+func (o *ErrorBrowserLocationChangeRequired) SetError(v GenericError) {
 	o.Error = &v
 }
 
diff --git a/selfservice/flow/error.go b/selfservice/flow/error.go
index d666822fa5c0..06337e7aa654 100644
--- a/selfservice/flow/error.go
+++ b/selfservice/flow/error.go
@@ -155,7 +155,7 @@ func NewFlowExpiredError(at time.Time) *ExpiredError {
 //nolint:deadcode,unused
 //lint:ignore U1000 Used to generate Swagger and OpenAPI definitions
 type errorBrowserLocationChangeRequired struct {
-	Error swagger.ErrorGeneric `json:"error"`
+	Error swagger.GenericError `json:"error"`
 
 	// Points to where to redirect the user to next.
 	RedirectBrowserTo string `json:"redirect_browser_to"`
diff --git a/spec/api.json b/spec/api.json
index 8ba46ef3790d..d4d3e5bd9f57 100644
--- a/spec/api.json
+++ b/spec/api.json
@@ -763,7 +763,7 @@
       "errorBrowserLocationChangeRequired": {
         "properties": {
           "error": {
-            "$ref": "#/components/schemas/errorGeneric"
+            "$ref": "#/components/schemas/genericError"
           },
           "redirect_browser_to": {
             "description": "Points to where to redirect the user to next.",
diff --git a/spec/swagger.json b/spec/swagger.json
index 0efbf7716e9c..83e6ea51c104 100755
--- a/spec/swagger.json
+++ b/spec/swagger.json
@@ -3838,7 +3838,7 @@
       "title": "Is sent when a flow requires a browser to change its location.",
       "properties": {
         "error": {
-          "$ref": "#/definitions/errorGeneric"
+          "$ref": "#/definitions/genericError"
         },
         "redirect_browser_to": {
           "description": "Points to where to redirect the user to next.",