RPC in interfaces not working

I was trying to use RPC in interfaces but it seems not to work, even if I simplify it as much as possible:
RPC:

{
    "response": {
        "output": {
            "name": "order",
            "type": "text"
        }
    }
}

Interface:

[
    "rpc://getFields"
]

It’s supposed to worked, as described here: https://integromat.gitbook.io/apps/app-blocks/interface#dynamic-interface-using-rpc

If I use it as mappable parameters, it works well. Any ideas ?

Hey Claire_Champourlier

Your RPC and Interface looks correct.
Are you sure the name of the RPC and what you call in the interface is the same? (See first image)

  1. Also, whenever you do something to your code in the RPC, please [Test RPC].
  2. Delete the module in the scenario and re-add the module with the RPC.
  3. Then save the scenario, reload the scenario and test again.
    I have observed that the RPC data takes a min or so the first time, befor it shows.

RPC:

Interface:
image

Scenario:

/Riko

1 Like

Thanks @GIGO ! Removing and adding the module did not help but starting fresh from a new scenario worked !

Great, glad I could help or at least inspire. :slight_smile: