microsoftgraph/msgraph-training-powerautomate

The API operation 'Batch' requires the property 'body' to be of type 'String' but is of type 'Object'.'

Closed this issue · 2 comments

I followed the tutorial step by step and got the following error:

The API operation 'Batch' requires the property 'body' to be of type 'String' but is of type 'Object'.'
I tried this in 2 tenants and got the same result. I am using Global Admin account on both tenants.

image

Hi @EValliarampath I'm sorry you're having trouble. We only just recently updated this tutorial, but the changes haven't been published yet to docs.microsoft.com. Can you tell me if you were following the steps at https://docs.microsoft.com/en-us/graph/tutorials/flow or the steps in the Markdown files in this repository?

The swagger file defines body as an object so I suspect that's where the problem lies. If you edit your custom connect, on the Definition tab there's a toggle for Swagger Editor. If you turn that on, can you cut and paste the Swagger definition and share here?

image

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.