I ran into internal error 500 when trying to use attachments. Even If I don’t use attachments and just Content-type multipart/form-data it returns error anyway.



[headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[date] => Sun, 03 Aug 2025 06:23:15 GMT
[content-type] => application/json; charset=utf-8
[content-length] => 52
[x-ratelimit-limit] => 100
[x-ratelimit-remaining] => 98
[x-ratelimit-reset] => 1754202213.637
[vary] => Accept
[etag] => W/"34-zWc8gW+EWeg2mrqPaNjNywdzhTk"
[x-front-time] => 33
)
)
[body] => {"_error":{"message":"An internal error occurred."}}


