We are getting unusual error response from tw in direct message



We tried to reply to the conversation , got response as like this. {“errors”:[{“code”:349,“message”:“You cannot send messages to this user.”}]} . If the user muted/blocked us then will recieve error message as {“errors”:[{“code”:150,“message”:“You cannot send messages to this user who is not following you.”}]} . But why we got the error code 349 . In which case we will get this error? Please explain.