apache / polaris

Apache Polaris, the interoperable, open source catalog for Apache Iceberg
https://polaris.apache.org/
Apache License 2.0
1.17k stars 130 forks source link

Fix 403 error message hints #437

Closed andrew4699 closed 1 week ago

andrew4699 commented 2 weeks ago

Description

In a previous change I took a stab at transforming some cloud-provider-specific 403s into Polaris 403s. I don't think the hints were fully accurate as I'm seeing AWS errors that don't mention "access denied". Rather than trying to chase down the exact error messages per cloud provider, I went with reasonable catch-alls. We still only apply this to cloud-provider-specific exception types such as S3Exception so this should be fine.

Type of change

How Has This Been Tested?

Checklist: