The issue was missing the 'o' in the key ""@data.type" in the key:value pair "@data.type": "#microsoft.graph.fileAttachment". The correct key is "@odata.type" so k:v -> "@odata.type": "#microsoft.graph.fileAttachment"
Credit StackOverflow https://stackoverflow.com/questions/77010710/ms-graph-api-error-contentbytes-not-a-property-of-type-microsoft-graph-attachm/77012257#77012257
"attachments": [
{
"name": "attachment-1.txt",
"contentBytes": "QXR0YWNobWVudCBPbmUgLQpUaGlzIGlzIGEgdGVzdCBzZW5kIGZyb20gT25lTWUuCgoKCk9uZU1lIExMQy4KUC5PLiBCb3ggMjI1NzIKSG91c3RvbiBUWCA3NzIyNw==",
"contentType": "text/plain",
"@odata.type": "#microsoft.graph.fileAttachment"
},
{
"name": "attachment-2.txt",
"contentBytes": "QXR0YWNobWVudCBUd28gLQpUaGlzIGlzIGEgdGVzdCBzZW5kIGZyb20gT25lTWUuCgoKCk9uZU1lIExMQy4KUC5PLiBCb3ggMjI1NzIKSG91c3RvbiBUWCA3NzIyNw==",
"contentType": "text/plain",
"@odata.type": "#microsoft.graph.fileAttachment"
}
],