Hi, when trying to generate a catalog with the current master version of tap-facebook I am encountering this error. The credentials used come from Facebook OAuth using the v16.0 version of the Graph API.
`ERROR SingerConfigurationError
GET: 400 Message: The access token could not be decrypted
Traceback (most recent call last):
File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/tap_facebook-1.18.5-py3.9.egg/tap_facebook/init.py", line 899, in main_impl
accounts = user.get_ad_accounts()
File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/adobjects/user.py", line 455, in get_ad_accounts
return request.execute()
File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/api.py", line 677, in execute
cursor.load_next_page()
File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/api.py", line 841, in load_next_page
response_obj = self._api.call(
File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/api.py", line 350, in call
raise fb_response.error()
facebook_business.exceptions.FacebookRequestError:
Hi, when trying to generate a catalog with the current master version of tap-facebook I am encountering this error. The credentials used come from Facebook OAuth using the v16.0 version of the Graph API.
`ERROR SingerConfigurationError GET: 400 Message: The access token could not be decrypted Traceback (most recent call last): File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/tap_facebook-1.18.5-py3.9.egg/tap_facebook/init.py", line 899, in main_impl accounts = user.get_ad_accounts() File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/adobjects/user.py", line 455, in get_ad_accounts return request.execute() File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/api.py", line 677, in execute cursor.load_next_page() File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/api.py", line 841, in load_next_page response_obj = self._api.call( File "/Users/alec/.virtualenvs/tap-facebook/lib/python3.9/site-packages/facebook_business-16.0.2-py3.9.egg/facebook_business/api.py", line 350, in call raise fb_response.error() facebook_business.exceptions.FacebookRequestError:
Message: Call was not successful Method: GET Path: https://graph.facebook.com/v16.0/me/adaccounts Params: {'summary': 'true'}
Status: 400 Response: { "error": { "message": "The access token could not be decrypted", "type": "OAuthException", "code": 190, "fbtrace_id": "ASGS9BAk2nagYYhOSc_jM86" } }`
Digging around online seems to show that this error comes from invalid tokens however I just generated these OAuth tokens today.
Can anyone offer any insight around solving this error?