<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Need help with Integration to edit google sheets</title><link>https://community.appian.com/discussions/f/integrations/21858/need-help-with-integration-to-edit-google-sheets</link><description>I have created an integration s shown below: 
 
 I am able to run this integration when values are null however, it is giving the below error when I give any values: 
 sample request body with values: 
 { &amp;quot;range&amp;quot;: &amp;quot;Sheet1!A2:B2&amp;quot;, &amp;quot;majorDimension&amp;quot;: &amp;quot;ROWS</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need help with Integration to edit google sheets</title><link>https://community.appian.com/thread/102914?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 03:06:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ed7085b-b4df-4057-8a8d-19df0c5d386d</guid><dc:creator>danna3499</dc:creator><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;could you make the connection between google sheets and appian?&lt;br /&gt;i ant to store my db and a google sheets, is it possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help with Integration to edit google sheets</title><link>https://community.appian.com/thread/85878?ContentTypeID=1</link><pubDate>Sat, 18 Sep 2021 06:04:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:920de92e-8b89-411e-a950-83c84fcf4859</guid><dc:creator>nimitb23</dc:creator><description>&lt;p&gt;Hi, actually I tried the request you shared&amp;nbsp;long ago already and it does not work as the square brackets ([ ]) are not valid in Appian for JSON and therefore I changed it to curly brackets.&lt;/p&gt;
&lt;p&gt;We get the following error if we use square brackets in Appian integration:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1631944431277v2.png" alt=" " /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1631944402432v1.png" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am grateful for your response, however, I have figured a solution already as well.&lt;/p&gt;
&lt;p&gt;If we use a Rule Input (let&amp;#39;s say &amp;quot;value&amp;quot;) of type TEXT and then pass the exact same JSON request body&amp;nbsp;with square brackets (the one you sent) as Rule Input&amp;#39;s value and&amp;nbsp;use the Rule Input in the body (i.e. ri!value) then it works fine:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1631944827767v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I had a conversation&amp;nbsp;over online call with someone from Appian Support and they have confirmed that yes the square brackets won&amp;#39;t work and also agrees that this is a peculiar thing that&amp;nbsp;it somehow works fine when same request is passed as Rule Input of type TEXT.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need help with Integration to edit google sheets</title><link>https://community.appian.com/thread/85862?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 15:34:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:adf4206e-f010-4672-97a8-73379289c647</guid><dc:creator>Marco Amador</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This error usually means that the request is badly formed. Having a quick look, I think the &amp;#39;values&amp;#39; parameter content is not well formed, since values is expecting a JSON array (delimited by [ and ] ).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you try the following request body?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
  &amp;quot;range&amp;quot;: &amp;quot;Sheet1!A2:B2&amp;quot;,
  &amp;quot;majorDimension&amp;quot;: &amp;quot;ROWS&amp;quot;,
  &amp;quot;values&amp;quot;: [
    [&amp;quot;ABC&amp;quot;]
  ]
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>