Problem
When configuring a file-based Source component (e.g. JSON Source, CSV Source, XML Source) in ZappySys, you may see one of these errors:
Access to the path "c:path/folder" is denied
Could not find a part of the path 'D:\Zappysys\Test\JSONs\'.
Cause
Both errors are usually caused by pointing the File Name / Path field at a folder instead of a file:
- The path entered is a folder, not a specific file; the component tries to open the folder itself, which results in “access is denied”.
- The path is missing a file name or wildcard at the end, so the engine looks for a file matching the folder path exactly and reports “could not find a part of the path”.
- The path syntax is malformed, missing a backslash after the drive letter, or mixing
\and/separators (e.g.c:path/folder), which can trigger these errors even when the folder itself is valid.
Solution
Point to a specific file
- Open the Source component editor.
- In the File Name / Path field, enter the full path including the file name and extension:
D:\Zappysys\Test\JSONs\file.json - Save the configuration and run the package to confirm the file loads correctly.
Use a wildcard to read multiple files
- Open the Source component editor.
- In the File Name / Path field, enter the folder path followed by a wildcard pattern instead of a bare folder path:
C:\path\folder\*.json - Save the configuration and run the package to confirm the matching files are picked up.
Best practice
- Always end the File Name / Path field with either a file name or a wildcard (e.g.
*.json), never a bare folder path. - If subfolders also need to be included, check whether the component offers a recursive/subfolder option rather than trying to express that inside the wildcard itself.
- Use consistent path syntax: backslashes (
\) for Windows-style paths, with a separator after the drive letter (C:\, notC:). - If the path and syntax are both correct and the error still occurs, confirm the account running the package has read permissions on that folder/file.
Need more help?
If the issue persists, contact ZappySys Support:
- Live Chat: Use the chat widget (bottom-right corner)
- Email: support@zappysys.com
- Support Center: Support | ZappySys