Export enpoint does not work in an acceptable time
Good day! I’m facing an issue with the export endpoint. I’m trying to use it to transfer users together with their passwords between two organizations within Zitadel. I was able to export 1–2 users from the test organization, but exporting users in production (>20,000) results in a timeout — both with a 30-minute limit and with a 60-minute limit. Because of this, I cannot complete the transfer.
I also noticed that the responseOutput parameter has no effect on the endpoint’s behavior. I tried exporting to S3 using s3Output as well — with valid credentials, no new file appears in the bucket, no error occurs (not even in Zitadel logs), and the export still returns data in the HTTP response body (in the test organization).
Is there any solution for this? Or are there any alternative ways to move users from one organization to another without changing their passwords?
2 Replies
Hi @notfoundium, I'm an AI assistant for ZITADEL. While a team member reviews this question, I'll see if I can find relevant sources for your question.
Answer
I wasn't able to find a direct answer, here are some relevant sources:
1. Export Data :
Describes the export API, including parameters like s3Output and responseOutput, but does not address large exports or timeouts. 2. Migrate from ZITADEL :
Outlines migration/export/import flows and parameters for org/user data, but does not cover timeout or batching for large user sets. Feel free to tag @Ask Inkeep with additional questions. Got it. Tagging @Rajat for additional help.
Describes the export API, including parameters like s3Output and responseOutput, but does not address large exports or timeouts. 2. Migrate from ZITADEL :
Outlines migration/export/import flows and parameters for org/user data, but does not cover timeout or batching for large user sets. Feel free to tag @Ask Inkeep with additional questions. Got it. Tagging @Rajat for additional help.
hey @notfoundium thanks for your question.
May I know what version of zitadel are you on and how are you hosted?
May I also know the steps you tried to export or any guide that you followed?. What was the timeoue you were giving?.
You can share all the commnads you've used and I will help you with that