Cannot save anything in ReadyAPI?
Whenever I try to save my ReadyAPI project, I suddenly started getting this vague error -
Failed to Save Project, java.io.IOException: The filename, directory name or volume label syntax is incorrect. Here is a sample of the messages I see in ready-api.logs file. Why did this start happening suddenly and how to I prevent such issues from happening?
- ReadyAPI 3.0.0. Cannot upgrade it now.
- Windows 10 64bit.
[a timestamp] INFO [ClassicCompositeProjectHandler] Interface operation [a test step] not changed so not saved. [a timestamp] INFO [ClassicCompositeProjectHandler] C:\some path\element.order is write-protected. It has not been saved. [a timestamp] ERROR [ClassicCompositeProjectHandler] Can not write file [ write protected ] C:\some project\TeamCityService\BuildQueue.xml etc...
Solved! Go to Solution.
Are there any special characters or spaces im the full path to the file?
Are there any special chars, especially illegal xml chars (e.g. chars that need escaping like the 5 xml entities) in any of the object names in your projects hierarchy?
Id double check and make sure there are none. It was quite a while ago but i had problem with paths in readyapi and once i removed dodgy chars/spaces my issue was resolved.
Thank you for your advice Richie!
Hi @rajs2020! Did you manage to solve this?
Community and Education Specialist
I had to re download all project files and then load them into ReadyAPI. Things started working after that. So, I don't know why this problem occurred.
Great to hear that the issue disappeared!
SmartBear Community and Education Manager