• Hello Everyone,

    I am using the new WordPress REST api (http://website.com/wp-json/wp/v2/media) and I am experiencing a issue. When I try to upload images (for example 6 images) it works 90% of the time, but once in a while 2 or 3 of the 6 images I’m uploading will show up in the media library as duplications.

    I have noticed that when the duplications show up on WP media library the images are named the exact same thing. I know normally WordPress will attach a “-1” or “-2” to files that are uploaded with the same name. This is why I believe it may be an issue with WordPress and not my code. Can anyone comfirm this or help give any guidance to fix this issue.

    Thank you for your time.

The topic ‘Duplicates when uploading Images via REST Api’ is closed to new replies.