steampipe-plugin-sdk
steampipe-plugin-sdk copied to clipboard
NotFound error doesn't get caught by `ShouldIgnoreError` during LIST call
I am using ShouldIgnoreError
error handler for both LIST
, and GET
operation, to handle notFound
error.
Though it is woking properly for GET
operation, but the the error not get caught when performing LIST
operation.
here is the LIstConfig
, that I am using
List: &plugin.ListConfig{
ParentHydrate: listUsers,
Hydrate: listIdentityApiKeys,
ShouldIgnoreError: isNotFoundError([]string{"404"}),
},
> select * from oci_test_creds.oci_identity_api_key
Error: Service error:NotAuthorizedOrNotFound. Authorization failed or requested resource not found. http status code: 404. Opc request id: 60127535a3bd919f5e70c7e6462213d6/49C8717F3023B1CB184276B4782E6FF9/7A4C22AC6C67E64ED458C95326708843