Error with Web Component: toYailDictionary Runtime Error

Hello,
I am currently building a simple translator app and I'm trying to integrate the Google Translate API (v3). However, i keep encountering the following runtime error:
"Runtime Error: unable to invoke method 'toYailDictionary' in object od type string"

Steps i've taken:

  1. i set up the web component and configured the URL
  2. added authorization in the headers using Bearer Token
  3. i structured the body of the POST request with a dictionary

Issue: Even though i pass a dictionary as the body, the app on my Iphone shows the above runtime error.

What is my mistake? Are there any specific limitations wth the Web Component that i should be aware of?

Thank you for your help!!!

Several things:

You did not check response code correctly

You failed to JSON Decode the response content brfore feeding it to a dictionary block.

iOS dictionary pair support is greyed out at
https://doesappinventorrunonios.com/
(though it might not apply to your code)
image

What version number do you see in the companion? That function should be in the current App Store version 2.64.5.