Skip to main content
Published: April 23 2015, 12:10:00 AMUpdated: August 08 2022, 6:34:05 AM

Question

I'm trying to respond to a user's question using AddMemberMessageRTQ.  I've used GetMyMessages to retrieve the message ID of the message I want to respond to and supplied that in the AddMemberMessageRTQ 'ParentMessage' field.  Why do I keep getting an 'Invalid Parent Message Id' (17453) error?

 

Answer

The problem is that the MessageID returned by GetMyMessages is not the right ID to use for the ParentMessageID of AddMemberMessageRTQ.  Instead, you should use the ExternalMessageID (also returned by GetMyMessages) parameter as the ParentMessageID parameter of AddMemberMessageRTQ. 

Alternately, GetMemberMessages also returns a field called MessageID.  This value can also be used as the ParentMessageID in AddMemberMessageRTQ.  The ExternalMessageID returned by GetMyMessages and the MessageID returned by GetMemberMessages are the same value.

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!