question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pyairtable.api.params.InvalidParamException: 'return_fields_by_field_id' is not a supported parameter

See original GitHub issue

Why does this crash? print(table.all(return_fields_by_field_id=True))

I’ve taken it from: https://pyairtable.readthedocs.io/en/latest/api.html#parameters

Running python 3.10 and pyairtable 1.1.0 from pip

Traceback (most recent call last):
  File "script.py", line 56, in main
    print(table.all(return_fields_by_field_id=True))
  File "/home/user/.local/lib/python3.10/site-packages/pyairtable/api/table.py", line 80, in all
    return super()._all(self.base_id, self.table_name, **options)
  File "/home/user/.local/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 127, in _all
    for records in self._iterate(base_id, table_name, **options):
  File "/home/user/.local/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 103, in _iterate
    params = self._options_to_params(**options)
  File "/home/user/.local/lib/python3.10/site-packages/pyairtable/api/abstract.py", line 61, in _options_to_params
    params.update(to_params_dict(name, value))
  File "/home/user/.local/lib/python3.10/site-packages/pyairtable/api/params.py", line 93, in to_params_dict
    raise InvalidParamException(msg)
pyairtable.api.params.InvalidParamException: 'return_fields_by_field_id' is not a supported parameter

Is this somehow a reserved naming schema? all other options seem to work. I even copied it from the source code: https://github.com/gtalarico/pyairtable/blob/6dbc0edb8044d12601fdf5f2ea72934c0e182283/pyairtable/api/params.py#L88

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gtalaricocommented, Jul 6, 2022

It seems to be not in version 1.1.0, could you please release a new version? 😃 Sorry haven’t been able to release yet. While I have some automations in place it’s currently still requires a few manual steps to release a new version (bump version, change log, tag release). It may take anywhere from a few days to a few weeks.

If anyone know, I am happy to use that workaround in the meantime

You can install by commit rather than latest version until a new version is released:

pip install git+https://github.com/gtalarico/pyairtable.git@3592deef1b1044d4b9c2b4c85441a57626011840
Read more comments on GitHub >

github_iconTop Results From Across the Web

Airtable Api — pyAirtable documentation - Read the Docs
If you set the view parameter, the returned records in that view will be sorted by these fields. If sorting by multiple columns,...
Read more >
Issues · Airtable/airtable.js - GitHub
BUG: setting returnFieldsByFieldId to false still returns fields by field id ... invalid parameters for select : * the value for filterByFormula should...
Read more >
[API] Error requesting a single field - Airtable Community
So it turns out what I was attempting isn't possible, but the AT support team had a suggestion that works the same way:...
Read more >
Posting data on Airtable API does not work - Stack Overflow
Posting data on Airtable API does not work ... request: parameter validation failed. Check your request data."}} Does anyone understand why ...
Read more >
enablePersonalization API parameter - Algolia
API Reference / API Parameters / enablePersonalization. Nov. 25, 2021 ... Parameter syntax. enablePersonalization => true|false.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found