Forum Discussion
Inconsistent behavior in using Taxonomy API
Hi Paul -
I'm curious if you've made progress on this this. I am also seeing the error:
The HTTP service located at http://usr19769-643:32843/3115c78f4d804003b5964d1cb5b56042/MetadataWebService.svc is unavailable
In my case, I was using PnP PowerShell (Apply-PnPProvisioningTemplate) to deploy new Managed Metadata fields and anchor them to an existing term set. I was running this after creating a new site. I added a Sleep for 120 seconds after site creation and before applying the template. I still saw this error. Then I set it to sleep for 180 seconds and I did not see the error. I need to do more testing to see if 180 seconds is sufficient in all cases or if I'll need to implement retries as you have done.
Regards,
Tom Castiglia
Hi Tom,
Having the sleep for 180 seconds fixed it for me too. Have you found any other way to get this working other than putting in some delay?
Thank you.