timotheus / ebaysdk-python

eBay API SDK for Python
https://developer.ebay.com/tools/sdks
Other
809 stars 326 forks source link

AddMemberMessageAAQToPartner' #362

Closed TonyKutunio closed 3 years ago

TonyKutunio commented 3 years ago
response = api.execute('AddMemberMessageAAQToPartner',
                           {'ItemID': 154471142899,
                            'MemberMessage': message,
                            'EmailCopyToSender': True,
                            'QuestionType': 'General',
                            'RecipientID': user_id,
                            'Subject': 'Feedback'
                            })

Can anyone explain where is the mistake?

raise ConnectionError(estr, self.response)
ebaysdk.exception.ConnectionError: 'AddMemberMessageAAQToPartner: 
Class: RequestError, Severity: Error, Code: 17443, Recipient User Id is missing. 
Recipient User Id is missing.'
timotheus commented 3 years ago

I think it’s RecipientID, not RecipientUserID

Tim

On Thu, Jul 22, 2021 at 7:36 AM TonyKutunio @.***> wrote:

                      {'ItemID': 154471142899,
                       'MemberMessage': message,
                       'EmailCopyToSender': True,
                       'QuestionType': 'General',
                       'RecipientUserID': user_id,
                       'Subject': 'Feedback'
                       })

Can anyone explain where is the mistake?

raise ConnectionError(estr, self.response) ebaysdk.exception.ConnectionError: 'AddMemberMessageAAQToPartner: Class: RequestError, Severity: Error, Code: 17443, Recipient User Id is missing. Recipient User Id is missing.'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/timotheus/ebaysdk-python/issues/362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2QXYSS7KQ333AI3423OLTZAUHVANCNFSM5A2EU5LQ .

TonyKutunio commented 3 years ago

I think it’s RecipientID, not RecipientUserID Tim On Thu, Jul 22, 2021 at 7:36 AM TonyKutunio @.***> wrote: {'ItemID': 154471142899, 'MemberMessage': message, 'EmailCopyToSender': True, 'QuestionType': 'General', 'RecipientUserID': user_id, 'Subject': 'Feedback' }) Can anyone explain where is the mistake? raise ConnectionError(estr, self.response) ebaysdk.exception.ConnectionError: 'AddMemberMessageAAQToPartner: Class: RequestError, Severity: Error, Code: 17443, Recipient User Id is missing. Recipient User Id is missing.' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#362>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2QXYSS7KQ333AI3423OLTZAUHVANCNFSM5A2EU5LQ .

Thanks for the reply. Ive just found out that it has to be this way, it works now: MemberMessage: {all the : info} And yes, defo RecipientID not RecipientUserID

api.execute('AddMemberMessageAAQToPartner', {'ItemID': item_id,
                                         'MemberMessage': {
                                         'Body': message,
                                         'EmailCopyToSender': False,
                                         'QuestionType': 'General',
                                         'Subject': 'Feedback',
                                         'RecipientID': user_id}})