But, what’s the correct syntax? The examples on the page skip this.
When hard-coded, the options object is an array of collections, each containing a label and value.
My RPC returns the same thing, I think!
Yep, and when testing the RPC the output is an array of collections, each with a “value” and “label”, which I believe is expected.
I did try without the query param (even though I need it).
I also hard-coded the parameter in the RPC so even without any parameters anywhere I still get the same results.
Just curious, what does your RPC output look like, do you have a screenshot?
One issue could be that the RPC uses a different connection in the test than in your scenario. With the Integromat DevTools, you won’t see connection issues. But in the console you should be able to see errors if something is wrong.
Because I tried to replicate an unauthorized connection and it showed me just a single text field instead of the dropdown. Although additionally, the 401 unauthorized error.
Ok, well it looks like the parameters are causing the problem.
It’s possible to send query parameters to RPCs, but is it possible to send variable query parameters?