You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This lambda receives HTTP POST requests from Frontend and MAPI and sends them on to the Formstack database.
3
+
This lambda receives HTTP POST requests from Frontend and MAPI and sends them on to the Formstack database.
4
4
5
5
The data comes from reader callout forms submitted on the user interface.
6
6
7
-
# To test locally
7
+
##To test locally
8
8
9
9
Run the local file: `npm run runlocal`
10
-
Ensure to put environment variables `formstack_url` and `oauth_token` on terminal before running above command.
10
+
Ensure to put environment variables `FORMSTACK_URL` and `API_TOKEN` on terminal before running above command.
11
11
Please refer stage CODE in content-api stack.
12
12
13
+
## Formstack integration issues
13
14
15
+
If the integration with Formstack is broken, it’s likely due to an expired or deactivated access token. Access tokens are linked to users and can be deactivated when users lose access to their accounts.
16
+
17
+
To resolve this, contact Central Production for Admin access to the Formstack account. The simplest solution is to generate a new access token by creating a new API Application.
18
+
19
+
Then, update the Cloudformation stack entry.
20
+
21
+
This repo uses the same credentials that https://github.com/guardian/targeting uses for authenticating with Formstack.
0 commit comments