[wp-trac] [WordPress Trac] #63294: Got this error when send image via REST API on WP 6.8

WordPress Trac noreply at wordpress.org
Tue Jul 1 18:17:41 UTC 2025


#63294: Got this error when send image via REST API on WP 6.8
-------------------------------+------------------------------
 Reporter:  Astraport          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  6.8
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by yesanded):

 Replying to [ticket:63294 Astraport]:
 > {"code":"rest_upload_image_type_not_supported","message":"The web server
 cannot generate responsive image sizes for this image. Convert it to JPEG
 or PNG before uploading.","data":{"status":400}}


 I had this exact error in a local installation.

 I installed two instances of WP with XAMPP - one using 6.7.1, and the
 other using 6.8.1.
 The image upload issue did not occur in the 6.7 instance, but it did
 happen in the 6.8
 I'd done nothing to either instance outside of installing WP and creating
 a test page.

 This is clearly a WordPress iussue.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63294#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list