Hello,
At the edge of 2022, i make a small step to build my first pack.
My pack consist basically of api request whose i would like to reuse the answer.
To do it, i would like to configure a domain, a port and a token to build the url.
Thus i try to use a custom authentification
https://coda.io/packs/build/latest/guides/advanced/authentication/
pack.setSystemAuthentication({
type: coda.AuthenticationType.Custom,
params: [
{name: "ServerToken", description: "The API key"},
{name: "ServerDomain", description: "The IP address or domain"}, //domain.com
{name: "ServerPort", description: "The port"}, // default : "32400"
],
});
When i build the pack, it seems to work.
Unfortunately when i use my formula, i get an error :
This formula requires a system account, but no system account was provided. Please specify a system account in the pack settings.
And i don’t see any configuration in the settings panel…
I guess i miss a concept. Any idea or advice?
Moreover, if i want to configure a custom domain, how do i have to deal with the addNetworkDomain?
pack.addNetworkDomain("domain.com");
Thank you in advance the help.