Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airtable client's get method does not work for me #60

Open
andrasnagy-data opened this issue Sep 25, 2023 · 0 comments
Open

Airtable client's get method does not work for me #60

andrasnagy-data opened this issue Sep 25, 2023 · 0 comments

Comments

@andrasnagy-data
Copy link

andrasnagy-data commented Sep 25, 2023

Code:
at_client = airtable.Airtable("Beta testing", AIRTABLE_TOKEN)
at_client.get("People")

Error:
Traceback (most recent call last): File "/Users/andrasnagy/Desktop/sensae/code_base/projects/slack-app/main.py", line 22, in <module> at_client.get("People") File "/Users/andrasnagy/Desktop/sensae/code_base/projects/slack-app/.venv/lib/python3.11/site-packages/airtable/airtable.py", line 133, in get return self.__request('GET', url, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/andrasnagy/Desktop/sensae/code_base/projects/slack-app/.venv/lib/python3.11/site-packages/airtable/airtable.py", line 107, in __request error_type=error_json.get('type', str(r.status_code)), ^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'get'

I did check the type of "at_client", and as expected, it is of type "<class 'airtable.airtable.Airtable'>". Anyone has seen this issue already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant