I was getting the following message:
Error: ENOENT: no such file or directory, open 'assets/raw/_logo__icon.svg'
when I was using the API with the filename:
const icon = "assets/raw/Logo_Icon.svg";
// ...
windows: {
masterPicture: icon,
// ...
So adding 'master_picture', to the keysToIgnore array from camelCaseToUnderscoreRequest solved this annoying problem.