Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.0 not working #47

Closed
heymartinadams opened this issue Jan 22, 2024 · 1 comment · Fixed by #49
Closed

v0.6.0 not working #47

heymartinadams opened this issue Jan 22, 2024 · 1 comment · Fixed by #49
Assignees

Comments

@heymartinadams
Copy link

As mentioned in #44, v0.6.0 gives us the following error:

[TypeError: errors is not iterable]

when running the following operation:

await knock.workflows.updateSchedules({
  data: { todoId, timeZone },
  schedule_ids: [dateStartReminder.scheduleId],
  scheduled_at: new Date(dateStart)
})
@connorlindsey
Copy link
Contributor

Hey @heymartinadams, we found an issue with how we were formatting the error message returned from the API and are pushing a new version of the SDK now. Please upgrade to 0.6.1 and that should resolve things. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants