We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1505ddb commit 5042accCopy full SHA for 5042acc
packages/gitbook/src/components/DocumentView/Integration/IntegrationBlock.tsx
@@ -34,7 +34,11 @@ export async function IntegrationBlock(props: BlockProps<DocumentBlockIntegratio
34
dataFetcher.renderIntegrationUi({
35
integrationName: block.data.integration,
36
request: initialInput,
37
- })
+ }),
38
+
39
+ // The API can respond with a 400 error if the integration is not installed
40
+ // and 404 if the integration is not found.
41
+ [404, 400]
42
);
43
if (!initialOutput || initialOutput.type === 'complete') {
44
return null;
0 commit comments