You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/developer-tools/guides/code-sync-errors.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ relatedArticles:
8
8
- 261fb4ed-83e5-4f92-8f52-8da22749a92e
9
9
---
10
10
11
-
If you've got your repo synced to pass code to Kinde, for use in custom page code or workflows, you may encounter errors from time to time. Here's some common ones and how to solve.
11
+
If you’ve synced your repository to pass code to Kinde for custom pages or workflows, you may encounter errors from time to time. Here are some common issues and how to resolve them.
12
12
13
13
## Deployment failed: More than one workflow assigned to this trigger
14
14
15
-
Each trigger is mapped to a single workflow, make sure you don’t have any existing workflows already using the trigger.
15
+
Each trigger can be mapped to only one workflow. Make sure you don’t already have a workflow using the same trigger.
16
16
17
17
## No default function exported
18
18
19
-
Kinde expects a default function to be exported. Make sure the format is correct:
19
+
Kinde expects a default function to be exported. Make sure the format is correct.
20
20
21
21
```jsx
22
22
// Pages
@@ -36,11 +36,11 @@ export default async function Workflow(event) {
36
36
37
37
Workflows require a unique ID to be set in the `workflowSettings` object.
38
38
39
-
If you do have an ID set in your code this indicates that the page could not compile, and therefore the settings could not be read.
39
+
If an ID is present in your code, this usually means the page failed to compile and the settings could not be read.
40
40
41
41
## Sync log showing no pages and no workflows
42
42
43
-
Technically the sync was successful but Kinde was unable to find any pages or workflows in your repo. Check you`kindeSrc` file and default exports.
43
+
Technically the sync was successful but Kinde was unable to find any pages or workflows in your repo. Check your`kindeSrc` file and default exports.
44
44
45
45
## No matching export in `"kindeKnownPackage:https://cdn.jsdelivr.net/npm/@kinde/infrastructure@latest/+esm" for import <xxxxx>`
0 commit comments