cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rjack
Resolver I
Resolver I

Error: A 'StartArray' node was expected.

Hello,

 

I'm trying to send an email using 'send and HTTP request to SP' but receiving the below error. any suggestions please? 

I wanted to send email from no-reply@domain.com. Since I couldnt find any possible solution I'm trying to email from no-reply@sharepoint.com

 

Code: 

{
'properties': {
'From': 'no-reply@sharepointonline.com',
'To': { 'results': ["name@domain.com"] },
'Body': "Text Body",
'Subject': 'Subject line'
}
}

 

Error: An unexpected 'StartObject' node was found when reading from the JSON reader. A 'StartArray' node was expected.

 

rjack_0-1624394308471.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
rjack
Resolver I
Resolver I

The joy of copy paste!!! Wasted hours and mental blocks!!! 

 

the 2nd headers "content-type" had spaces after the word "type". 

View solution in original post

1 REPLY 1
rjack
Resolver I
Resolver I

The joy of copy paste!!! Wasted hours and mental blocks!!! 

 

the 2nd headers "content-type" had spaces after the word "type". 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,824)