Error 151 when sending Direct message with attached image

media
directmessages
api
attachment

#1

Hi!

I’m trying to use direct message features. I’ve uploaded some images and now trying to send them as attaches in direct message. But while sending some of images i’m getting this error: {‘errors’: [{‘code’: 151, ‘message’: ‘There was an error sending your message: media id already used.’}]} I double checked media id but it is new and valid. Can someone help me with this issue?

Thanks!