Problem with Web Services in calling Google Gemini from companion in iOS iPad device

Dear Sirs:

I have been trying to replicate a funcionality sucessfully developed for android devices that make use of web services to call Google Gemini for the sake of answer to prompts fo diferent matters.

I pretendo to use for iOS the same blocks used for andriod.

I enclose the actual used blocks as image to this request for help.

After severa intents to find out what is going on, using the trouble shooting and debuging tools in AI only two error messages where received:

1119 Error. Lost internet connection (not clear the source. iOS suspected)

At this moment the error is 400 Error in Gemini call (from my oun aplication)

The device used to load AI Companion is a nine generation iPad under iOS 26.4.1

Could you please help me on this mater and suggest me how to solve this problem.

Best Regards

Daniel Suzuki

Check this ( I made a few days ago, tested on android, but not on ios ), it uses model: gemini-3-flash-preview

gem01.aia (3.1 KB)

Thank you davidefa por your help on this matter.

It happend that the reason for the failure to work in the iOS environment was the use of Dictionary blocks instead of List bloks to ask for rRequest Headers in a REST API call.

My problem is solved now.

Regards

Hmm. Dictionaries should be serialized to JSON when used with the RequestHeaders property on iOS. We'll need to look into this.