Connection Issue - Update the connection permissions

:bullseye: What is your goal?

Trying to use a custom Airwallex app which requires two steps to create an invoice

  1. Create Invoice
  2. Create Invoice Lines

:thinking: What is the problem & what have you tried?

When I add the module for Create Invoice I select my Connection and everything is happy, build the module, save close.

When I add the module for Create Invoice Lines I select my Connection and then get an error message to Update the Connection Permissions.

The connection is not a real OAuth connection, just a bearer token authorisation wrapped up as an OAuth with Token refresh (because the simple bearer token connection cannot handle refreshes it seems see here).

The connection is used and works elsewhere, it’s just this module that is an issue.

:clipboard: Error messages or input/output bundles

Update the connection permissions

Update your connection with the required permissions to continue working with the app.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Base URL

Connection

Billing Invoice Create Connection

Billing Invoice Line Add Connection

2 Likes

Hello @Vimvim,

Please refer to the documentation- if any module uses scopes not used elsewhere, this dialog box will appear. So please check your Required scope tab.

Docs:

Have a nice day,
Michal

3 Likes

It is not a true oauth connection, none of the modules have scopes defined. The only way to get a refreshing bearer token is to use an oauth template. Make SDK - Connection - Refresh Token - How to handle - #5 by AndyDaSilva52

1 Like