Wessel Superfijn, die afbeelding, dat helpt zeker. Toch blijf ik foutmeldingen krijgen als ik de test uitvoer.
START RequestId: c7e21ba2-b133-41ab-a99d-6ff7ff5406fe Version: $LATEST
2020-10-24 21:13:23,199 | INFO | config.py:77 | read_ssm_config | Reading config from SSM
2020-10-24 21:13:23,250 | INFO | lambda_function.py:25 | get_iban_from_event | No request body found
2020-10-24 21:13:23,250 | INFO | sync.py:58 | populate | Retrieving bunq accounts...
2020-10-24 21:13:25,004 | INFO | sync.py:60 | populate | Retrieving ynab accounts...
2020-10-24 21:13:25,119 | ERROR | lambda_function.py:62 | lambda_handler | Exception occurred
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 51, in lambda_handler
sync.populate()
File "/var/task/lib/sync.py", line 61, in populate
self.ynab_accounts = list(ynab.get_accounts())
File "/var/task/lib/ynab.py", line 94, in get_accounts
result = get("v1/budgets?include_accounts=true")
File "/var/task/lib/ynab.py", line 175, in get
return call('GET', method)
File "/var/task/lib/ynab.py", line 56, in call
raise Exception("{0} (details: {1})".format(
Exception: unauthorized (details: Unauthorized)
END RequestId: c7e21ba2-b133-41ab-a99d-6ff7ff5406fe
REPORT RequestId: c7e21ba2-b133-41ab-a99d-6ff7ff5406fe Duration: 1921.84 ms Billed Duration: 2000 ms Memory Size: 512 MB Max Memory Used: 97 MB
Snap jij wat ik verkeerd doe?