iOS :Got an unexpected response accessing NATIVE popup window

Appium v1.11.1
The script runs fine in NATIVE mode and then does something correctly also in Webview mode, then it return back to NATIVE mode and does also something in NATIVE also. It is at the end of our card enrolment process where this error happens. This dialog, which gives this error is not somehow recognized. The log says: “The element ‘“ALOITA” Button’ is not visible on the screen and thus is not interactable” Why?

[debug] [WD Proxy] Got response with status 200: “{\n “value” : true,\n “sessionId” : “F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F”,\n “status” : 0\n}”
[WD Proxy] Replacing sessionId F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F with f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa
[HTTP] <-- GET /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/displayed 200 221 ms - 76
[HTTP]
[HTTP] --> GET /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/enabled
[HTTP] {}
[W3C (f1eb0ca5)] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[debug] [WD Proxy] Matched ‘/wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/enabled’ to command name ‘elementEnabled’
[debug] [WD Proxy] Proxying [GET /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/enabled] to [GET http://localhost:8100/session/F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F/element/2F020000-0000-0000-56FA-000000000000/enabled] with body: {}
[debug] [WD Proxy] Got response with status 200: “{\n “value” : true,\n “sessionId” : “F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F”,\n “status” : 0\n}”
[WD Proxy] Replacing sessionId F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F with f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa
[HTTP] <-- GET /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/enabled 200 119 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click
[HTTP] {“id”:“2F020000-0000-0000-56FA-000000000000”}
[W3C (f1eb0ca5)] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[debug] [WD Proxy] Matched ‘/wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click’ to command name ‘click’
[debug] [WD Proxy] Proxying [POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click] to [POST http://localhost:8100/session/F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F/element/2F020000-0000-0000-56FA-000000000000/click] with body: {“id”:“2F020000-0000-0000-56FA-000000000000”}
[debug] [WD Proxy] Got response with status 200: {“status”:0,“id”:“2F020000-0000-0000-56FA-000000000000”,“value”:"",“sessionId”:“F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F”}
[WD Proxy] Replacing sessionId F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F with f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa
[HTTP] <-- POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click 200 535 ms - 118
[HTTP]
[HTTP] --> POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/timeouts
[HTTP] {“implicit”:10000}
[debug] [W3C (f1eb0ca5)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,“f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa”]
[debug] [XCUITest] Executing command ‘timeouts’
[debug] [BaseDriver] W3C timeout argument: {“implicit”:10000}}
[debug] [BaseDriver] Set implicit wait to 10000ms
[debug] [W3C (f1eb0ca5)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/timeouts 200 3 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element
[HTTP] {“using”:"-ios predicate string",“value”:“type == ‘XCUIElementTypeButton’ AND label == ‘ALOITA’”}
[debug] [W3C (f1eb0ca5)] Calling AppiumDriver.findElement() with args: ["-ios predicate string",“type == ‘XCUIElementTypeButton’ AND label == ‘ALOITA’”,“f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa”]
[debug] [XCUITest] Executing command ‘findElement’
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 10000 ms for condition
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F/element] with body: {“using”:“predicate string”,“value”:“type == ‘XCUIElementTypeButton’ AND label == ‘ALOITA’”}
[debug] [RemoteDebugger] Application ‘PID:64093’ disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:64086
[debug] [RemoteDebugger] Application ‘PID:64093’ disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:64086
[debug] [RemoteDebugger] Application ‘PID:64093’ disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:64086
[debug] [RemoteDebugger] Application ‘PID:64093’ disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:64093
[debug] [RemoteDebugger] No longer have app id. Attempting to find new one.
[debug] [RemoteDebugger] Found app id key ‘PID:64086’ for bundle ‘fi.foobar.Mobile’
[debug] [RemoteDebugger] Application ‘PID:64093’ disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:64086
[debug] [WD Proxy] Got response with status 200: {“value”:{“ELEMENT”:“2F020000-0000-0000-56FA-000000000000”},“sessionId”:“F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F”,“status”:0}
[debug] [W3C (f1eb0ca5)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“2F020000-0000-0000-56FA-000000000000”,“ELEMENT”:“2F020000-0000-0000-56FA-000000000000”}
[HTTP] <-- POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element 200 1054 ms - 137
[HTTP]
[HTTP] --> POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click
[HTTP] {“id”:“2F020000-0000-0000-56FA-000000000000”}
[W3C (f1eb0ca5)] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command ‘proxyReqRes’
[debug] [WD Proxy] Matched ‘/wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click’ to command name ‘click’
[debug] [WD Proxy] Proxying [POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click] to [POST http://localhost:8100/session/F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F/element/2F020000-0000-0000-56FA-000000000000/click] with body: {“id”:“2F020000-0000-0000-56FA-000000000000”}
[debug] [WD Proxy] Got response with status 200: {“value”:“Error Domain=com.facebook.WebDriverAgent Code=1 “The element ‘“ALOITA” Button’ is not visible on the screen and thus is not interactable” UserInfo={NSLocalizedDescription=The element ‘“ALOITA” Button’ is not visible on the screen and thus is not interactable}”,“sessionId”:“F28C2CEA-1DF2-4AAC-A619-DD19D8EA635F”,“status”:13}
[WD Proxy] Got an unexpected response: {“value”:“Error Domain=com.facebook.WebDriverAgent Code=1 “The element ‘“ALOITA” Button’ is not visible on the screen and thus is not interactable” UserInfo={NSLocalizedDescription=The element ‘“ALOITA” Button’ is not visible on the screen and thus is not interactable}”,"sessi…
[debug] [W3C (f1eb0ca5)] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click has failed
[debug] [W3C (f1eb0ca5)] at JWProxy.proxy (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:180:13)
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[HTTP] <-- POST /wd/hub/session/f1eb0ca5-7c9e-4b1e-a3c7-eff9a504dfaa/element/2F020000-0000-0000-56FA-000000000000/click 500 9819 ms - 1208
[HTTP]