I am trying to migrate my contacts from office to mailchimp using (an heavily modified version) of the script in this article
[login to view URL]
However, i am facing some errors while using a powershell script to do it .
I'll be able to provide the script
here is the error message
Invoke-RestMethod : {"type":"[login to view URL] ors/","title":"Invalid Resource","status":400,"detail":"The resource submitted could not be validated. For field-specific details, see the 'errors' array.","i nstance":"aeb15e39-12b7-4458-57e2-67fb7140863c","errors":[{"field":"merge_field [login to view URL]","message":"Data did not match any of the schemas described in anyOf."}]} Au caractère D:\Program Files\Ampps\www\mailchimp\ethiopie\[login to view URL] : 17 + ... tchresult = Invoke-RestMethod -URI $baseUri/3.0/lists/$listId -Method ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation : ([login to view URL]:Ht tpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,[login to view URL] [login to view URL]
I've removed all special characters and made sure that all the fields have a default value, using the code below
Hey there,
I had developed tons of PowerShell scripts.
Would you share the heavily modified version?
Did you get other errors than the one you included in the project details?
Would you share more details?
Regards!
Hello,
I'm HieuHoang, a System Admin.
I have 3-years of experience working with Powershell script relate Windows, Active directory, Office 365, AzureAD.
I think I can help you complete it soon.
Please consider and contact me, we will discuss all the requirements needed to complete it.
Thank you.
Hello,
I am well experienced with technology. Maybe I can help you with this issue. I have been using Powershell for years so this wouldn’t be a problem for me.