You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to send welcome message to new joined user. Message in channel is working fine but when i am trying to send the direct message i am getting following error
ERROR Unable to get DirectMessage Room ID: {"isClientSafe":true,"error":"error-not-allowed","reason":"Target user not allowed to receive messages","details":{"method":"createDirectMessage"},"message":"Target user not allowed to receive messages [error-not-allowed]","errorType":"Meteor.Error"} Reason: Target user not allowed to receive messages
I have given all the rights to user, i tried following line of codes and getting error on both.
Problem what i observed is : Since user is not logged in that's why receiving this error. If a user is logged in and use that user then its sending the direct message
The text was updated successfully, but these errors were encountered:
Hi,
Please bear me because i am newbie
I am trying to send welcome message to new joined user. Message in channel is working fine but when i am trying to send the direct message i am getting following error
ERROR Unable to get DirectMessage Room ID: {"isClientSafe":true,"error":"error-not-allowed","reason":"Target user not allowed to receive messages","details":{"method":"createDirectMessage"},"message":"Target user not allowed to receive messages [error-not-allowed]","errorType":"Meteor.Error"} Reason: Target user not allowed to receive messages
I have given all the rights to user, i tried following line of codes and getting error on both.
Problem what i observed is : Since user is not logged in that's why receiving this error. If a user is logged in and use that user then its sending the direct message
The text was updated successfully, but these errors were encountered: