# [MSPSMD_WRITE_FILE](https://apps.juniper.net/syslog-explorer/?msg=MSPSMD_WRITE_FILE)

## SYSLOG Details
- **Message**: Cannot write <variable>data-size</variable>u bytes to a file,errno=<variable>error-message</variable>(<variable>error-code</variable>)
- **Help**: fwrite system call failed to write to a file
- **Description**: The system call fwrite() failed to write some bytes of data to a file
- **Type**: Internal: Internal log message
- **Severity**: error
- **Cause**: -
- **Action**: -
- **Attributes**: data-size
error-message
error-code
- **Facility**: LOG_DAEMON

## Found this message in the following releases:
- [Junos OS 24.2R1](https://apps.juniper.net/syslog-explorer/?msg=MSPSMD_WRITE_FILE&sw=Junos%20OS&rel=24.2R1)
- [Junos OS 23.4R1](https://apps.juniper.net/syslog-explorer/?msg=MSPSMD_WRITE_FILE&sw=Junos%20OS&rel=23.4R1)