wagtail-nest / wagtail-airtable

Airtable import and export support for Wagtail pages and Django models.
BSD 3-Clause "New" or "Revised" License
49 stars 15 forks source link

Gracefully handle authentication errors #23

Open KalobTaulien opened 3 years ago

KalobTaulien commented 3 years ago

When saving a page or model using the AirtableMixin it looks for the Airtable API key. If that key is wrong, there's a authentication error such as:

[Error: {'type': 'AUTHENTICATION_REQUIRED', 'message': 'Authentication required'}]") 

We need to handle that authentication a little more gracefully.