#ActionRetrier docs
13 messages · Page 1 of 1 (latest)
Thanks for posting in #1088161997662724167.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use [search.convex.dev](https://search.convex.dev) to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's #1228095053885476985 channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
they're documented here https://www.convex.dev/components/retrier
That's weird though i'm following those docs and trying to import { components } from "./convex/_generated/server"; and im gettting thrown an error saying that "components" is not exported from that file
Did the file change?
darn yes we need to update the docs apparently
it's import { components } from "./convex/_generated/api";
the example code https://github.com/get-convex/action-retrier/tree/main/example should be up to date if there are any more issues with the docs
Hi anyone who's having this same issue, the example might be a bit outdated at this time, convex/_generated/api doesn't seem to export components in 1.18.2. To fix this I simply just did import componentsGeneric; const components = componentsGeneric() in my convex action instead
if you're running npx convex dev, the generated file will be updated
hmm might be an issue on my end then because I tried deleting _generated and running npx convex dev multiple times and it didn't change