Hello Vercel team,
I am working on a Next.js project hosted on Vercel and have encountered difficulties retrieving the complete source files from an existing deployment.
I have observed two issues:
Truncated file contents: When using the deployment file contents endpoint, the main administrative panel file (admin-panel.tsx) is returned with truncated: true, and its content is incomplete.
Duplicated directory paths: The deployment file listing appears to contain duplicated directory prefixes, such as src/src/src/....
The deployment itself builds successfully, and the main application routes respond correctly. However, these issues prevent us from reliably recovering the complete source code and maintaining a consistent project structure.
Could you please clarify:
Is there a documented limitation on the size of files returned by the deployment file contents endpoint?
Is there a recommended way to retrieve the complete contents of larger files?
Could duplicated directory prefixes be related to the deployment's root directory configuration or file upload process?
Is this expected API behaviour or a potential platform issue?
Project: enciclopedia-de-la-cocina Framework: Next.js Affected deployment: dpl_EQ4gnNuEJrLCmyd2mfZBTWcn5oeH
Thank you for your help. I would appreciate guidance on how to recover the complete source files without losing the existing application.