Formula Requires a System Account, but not system account was provided

I am building a pack using the following code:

pack.setSystemAuthentication({
type: coda.AuthenticationType.OAuth2ClientCredentials,
tokenUrl: “token url”,
scopes: [“scopes”],
});

In the pack settings it shows
Accounts

You don’t need to connect an account to use this Pack

Error:
This formula requires a system account, but no system account was provided. Please specify a system account in the pack settings.

How do I setup a “System Account”?

Hi @Jason_Howard and welcome to the Coda Community.

Can you please change the category of this post to “Making Packs”?
I think that your request will then be answered more quickly than in this category.

Sincerely
Jannis

Done - thanks for the reply… First post :slight_smile:

1 Like

@Eric_Koleda I’m getting this exact issue with two new packs using customHeaderAuthentication.

The packs work fine testing from the command-line, but when I upload, I get this error message and it doesn’t have an option to add an account.

This formula requires a system account, but no system account was provided. Please specify a system account in the pack settings.

Hi @Jason_Howard and @Troy_Larson - As described in the Authentication guide, after adding the code to setup authentication, rebuild the Pack and then go to the Settings tab in the Pack Studio to enter the credentials. This isn’t possible at the moment however due to a bug that rolled out over the weekend that prevents the button from appearing. We have already fixed the bug and it should roll out later today.

1 Like