0

I just wrote a long Pnp-based Powershell script that creates a templated site. It works great except for my most important workflow, which does not. My other workflow which runs first on the same list works fine, but the one that creates a subsite does not. It completes, but throws an InternalServerError:

Completed call to Add Site with response code: InternalServerError

UPDATE The error I'm getting is in the final web service call. When I go to the URL I get this:

The HTTP method 'GET' cannot be used to access the resource 'Add'. The operation type of the resource is specified as 'Default'. Please use correct HTTP method to invoke the resource.

I'm not sure where I can find out more info. Thank you.

1 Answer 1

0

You could change the GET method to POST method in the final web service call in the problematic workflow.

2
  • It's a POST in the workflow. The Get is from the browser. Nov 21, 2017 at 13:02
  • Delete, re-add and re-configure the final web service in the problematic workflow. Then publish the workflow and check the result.
    – Amy_MSFT
    Nov 22, 2017 at 2:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.