cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KonniRichter
New Member

Error when using quotes in HTTP request - Unable to parse template language expression 'base64(concat(..

I to create a team from a group by using http request with MS Graph API.

 

https://docs.microsoft.com/de-de/graph/api/team-post?view=graph-rest-1.0&tabs=http

 

When using example code

 

{

"template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",

"group@odata.bind": "https://graph.microsoft.com/v1.0/groups('groupId')"

}

 

it gives me an error:

Unable to parse template language expression 'base64(concat('{',' ',' "template@odata.bind": "https://graph.microsoft.com/v1.0/teamsTemplates('standard')",',' ',' "group@odata.bind": "https://graph.microsoft.com/v1.0/groups("',outputs('Group_Id'),'")"',' ','}'))': expected token 'RightParenthesis' and actual 'Identifier'.

 

Seems that there is a problem with the quotes 'standard' and 'groupId'.

 

Why does this happen and how to solve this problem?

 

1 ACCEPTED SOLUTION

Accepted Solutions
KonniRichter
New Member

I found the problem.

I now used two quotes instead of one and it worked.

teamsTemplates(''standard'')

View solution in original post

2 REPLIES 2
annajhaveri
Super User
Super User

@KonniRichter  it looks like issue with missing or wrong parenthesis rather than quote issue, can you please provide the body parameter value that you are using in the HTTP request action?

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.
KonniRichter
New Member

I found the problem.

I now used two quotes instead of one and it worked.

teamsTemplates(''standard'')

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (30,498)