Error message "Invalid Json response received."

I set up a simple Leap database and linked it to Foundry with a swagger.json. When I test the connection in Foundry everything works fine, but when I link and map this connection in Iris, I get the following message:

[MFSDK][DEBUG][5/7/2024 10:38:35 AM][app.js][parseHttpResponse][18895] : parseHttpResponse :: Network response :{"errmsg":"Invalid Json response received."," opstatus":20013,"httpStatusCode":-1}

Does anyone have any idea what's going wrong here? And could it be related to the Same Site cookies? I see the following warning:

And if this is indeed related, what is the solution?

Thank you in advance

Hi Erwin,

Are we able to connect to middleware (Foundry server) from the application, is the URL invoked is correct one, did you publish the app, can we have the logs from Foundry (Trace logs and middleware logs)

Thank you

Mohammad Sanaulla Syed

Are we able to connect to middleware (Foundry server) from the application: Yes

Is the URL invoked is correct one: Yes

Did you publish the app: Yes

When I test the operation 'list_submission_records' in Foundry with the Leap database, everything works, but when I call the operation 'list_submission_records' in Iris, I get the error message.

Foundry log.txt

Hi Erwin,

Can we have your sample foundry app, and let us know the targeted platform to build and test this, we will verify this from our side.

Thank you

Mohammad Sanaulla Syed

Hi Mohammad,

Because I also had these problems with my own Leap database, I used an HCL example (DealTracking) for testing. I will forward this Foundry export (zip)file. I hope you can find something.

I found these 'error' messages: maybe this will help?

DealTracking (v1.0).zip