T
Twenty3mo ago
Raph

502 Error

Hey All, I'm randomly getting a 502 error on a few actions. I can see the following occur in the logs: 2024-10-01 16:05:02.099 GMT [180316] ERROR: foreign-data wrapper "airtable_fdw" already exists Oct 1 16:05:02 ip-address 4b5f320d2be1[692]: 2024-10-01 16:05:02.099 GMT [180316] STATEMENT: Oct 1 16:05:02 ip-address 4b5f320d2be1[692]: #011 CREATE FOREIGN DATA WRAPPER "airtable_fdw" Oct 1 16:05:02 ip-address 4b5f320d2be1[692]: #011 HANDLER "airtable_fdw_handler" Oct 1 16:05:02 ip-address4b5f320d2be1[692]: #011 VALIDATOR "airtable_fdw_validator"; Oct 1 16:05:02 ip-address4b5f320d2be1[692]: #011 Oct 1 16:05:02 ip-address 791ff1ca4172[692]: query failed: Oct 1 16:05:02 ip-address791ff1ca4172[692]: CREATE FOREIGN DATA WRAPPER "airtable_fdw" Oct 1 16:05:02 ip-address 791ff1ca4172[692]: HANDLER "airtable_fdw_handler" Oct 1 16:05:02 ip-address 791ff1ca4172[692]: VALIDATOR "airtable_fdw_validator"; what is the fdw_handler trying to do?
2 Replies
Raph
RaphOP3mo ago
Interesting... So this is what happened to cause this error. If you're a member of a workspace, and you delete your contact profile you will experience an exception where the app will need to reset while it tries to decide how to handle the request. @charles - we deleted our contact profiles because it was showing our emails and calendar updates to each other. While we wanted to be very open about our customer relationships, this kind of caused an issue with more secretive emails being read between leadership. Have you thought about this? Seems to be apollo related.
thomast
thomast3mo ago
Hi @Raph, to your first question, here are some doc about foreign data wrappers https://supabase.com/docs/guides/database/extensions/wrappers/overview. We are planning on using them so user can import data from distant tables at some point. But this is not available yet. About emails and calendar access, you have display settings that would allow to only show only metadata to other users. But the content will still be accessible through API, we do not have a permission management system yet. We are aiming for early 2025
Want results from more Discord servers?
Add your server