diff --git a/frontend/app/components/Client/Integrations/apiMethods.ts b/frontend/app/components/Client/Integrations/apiMethods.ts index e5115bd13..3924a068b 100644 --- a/frontend/app/components/Client/Integrations/apiMethods.ts +++ b/frontend/app/components/Client/Integrations/apiMethods.ts @@ -35,6 +35,13 @@ export function useIntegration( return initialValues; }, initialData: initialValues, + retry: (failureCount, error) => { + const status = error.status || error.response.status + if (status === 404) { + return false; + } + return failureCount < 4; + } }); const saveMutation = useMutation({