I thought i'd followed the API documentation but I just keep getting this error:
Object reference not set to an instance of an object.
I'm authenticating ok as I'm getting this far.
Trying to add extra data to a member of a mailing list using:
Obviously I have values for the URL, subscriber email and mailing list id. But I still get the error.
Any idea why?
Data I'm trying to post:
{"emailAddress":wmail@domain.com,"fieldValues":[{"name":fullname,"value":Fred Bloggs}],"subscribedLists":[4]}
But I don't think it's getting that far.
Logs say:
[2023.04.24] 13:02:12.638 [MAILING LIST SERVICE] Object reference not set to an instance of an object.
[2023.04.24] at MailService.WCF.MailingLists.MailingListsService.EditSubscriber(String token, String email, String domainName, Nullable`1 mailingListId, String subscriberEmail, MailingListSubscriberInput inputs)
Do you have an example of a successful call to this API as there aren't really any examples with real data and what the data should look like?
Thanks