ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
203 stars 131 forks source link

🐛 Bug: Authentication error for airtable #292

Closed JHlozek closed 1 year ago

JHlozek commented 1 year ago

Describe the bug.

When fetching an ersilia model, I immediately get a crash with an https authentication error for the model airtable. The same type of error is raised when going to that link separately in a browser.

requests.exceptions.HTTPError: ('403 Client Error: Forbidden for url: https://api.airtable.com/v0/appgxpCzCDNyGjWc8/Models?pageSize=100&maxRecords=100000', "403 Client Error: Forbidden for url: https://api.airtable.com/v0/appgxpCzCDNyGjWc8/Models?pageSize=100&maxRecords=100000 [Error: {'type': 'INVALID_PERMISSIONS', 'message': 'Invalid permissions'}]")

Describe the steps to reproduce the behavior

  1. Ersilia fetch eos2gth

Expected behavior.

Fetch the model without crashing.

Screenshots.

No response

Operating environment

CentOS 8

Additional context

No response

DhanshreeA commented 1 year ago

Experiencing this while fetching the ersilia catalog as well.

Malikbadmus commented 1 year ago

Same issue I'm facing as well.

temitayopelumi commented 1 year ago

I am also facing the same issue

miquelduranfrigola commented 1 year ago

Hi @JHlozek and all - thanks for raising this issue. This is related to an update of the AirTable Read-Only API keys that we did not anticipate.

The issue is now solved (v.0.1.1) and we have implemented a more sustainable solution for the future. You will have to re-install Ersilia on your local device.

Thanks!