Income Tax || While generating XML/Json, gives error "Bad file name or number"

Income Tax || While generating XML/Json, gives error "Bad file name or number"

This error typically occurs if the XML saving path is incorrect or if you are saving the file on a network system without full access rights to that location. Please ensure appropriate permissions are granted to the specific folder.

Additionally, if there are any errors in the client code provided, it could also be a potential cause for this issue. Therefore, verify the code or consider changing the client code.

To address the problem, check the XML file save path by navigating to "Tools > Income Tax Options" in Point no. 30 and then save. Set the correct default path.

            

Following these steps should resolve the issue.