Forum Discussion

jackdupont's avatar
11 years ago

RESTAPI send notes (private message)

Hi,

 

Today using the RESTAPI I am encountering the following issue when sending a private message to an user :

 

note.tousers: Ce nom de connexion est ambigu : [USER_LOGIN]. Remarque : les noms de connexion incorrects ont été supprimés de la liste "Envoyer à"

 

translated In english :

 

note.tousers: this login is ambigous : [USER_LOGIN]. Notice : Incorrect logins have been deleted from list "Sent to"

 

Notice : I am using postoffice/notes/send API call and 'notes.recipient', 'notes.subject', 'notes.note' params

 

Any help would be appreciated,

 

Thanks.

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)

    Hi jackdupont 

     

    is your community using SSO? Is there a chance that the username you passed in "note.tousers"is duplicate on multiple accounts?

     

    Thanks,

     

     

     

    • jackdupont's avatar
      jackdupont
      Helper

      Hi PaoloT ,

       

      Thanks for your reply, yes the community is using SSO.

      We did not pass-in an username, but an id/id as notes.recipient

       

      Thanks,

      • PaoloT's avatar
        PaoloT
        Lithium Alumni (Retired)

        If you passed a user ID - that should not be ambiguous under any normal circumstance that I can think of. I think it would be best to raise this with our support department who would be able to investigate the matter further within your specific instance.