This endpoint only supports to attach files that are smaller than 3 MB. To attach larger file in range of 3 MB to 150 MB, I would recommend you to use POST /me/messages/{id}/attachments/createUploadSession
You can follow this resource article for detailed information: https://learn.microsoft.com/en-us/graph/api/attachment-createuploadsession?view=graph-rest-1.0&tabs=http
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.