Error in webhook while doing an action

  • 0
  • 1
  • Question
  • Updated 6 months ago
  • In Progress
Hi ,

I was trying to create a webhook to make an action, i.e replication of records when created in one application to another.

<?xml version="1.0" ?>
<qdbapi>
<action>API_EditRecord</action>
<errcode>30</errcode>
<errtext>No such record</errtext>
<errdetail>Missing &quot;rid&quot; parameter.</errdetail>
<udata>mydata</udata>
</qdbapi>
Photo of abhi reddy

abhi reddy

  • 200 Points 100 badge 2x thumb

Posted 6 months ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,306 Points 50k badge 2x thumb
Is there a reason that you are not using an Action?
Can you post your current Webhook Code?
Photo of abhi reddy

abhi reddy

  • 200 Points 100 badge 2x thumb
Hi,

<qdbapi>
<udata>mydata</udata>
<usertoken>%user.token.xxxxx_zmp_dqvp.Demo 2%</usertoken>

<apptoken>xxxngn7xxxxxxxxxxxxxxxxxxx</apptoken>

<rid>[corporate id]</rid>

<field fid="00">[FIELD NAME]</field>
<field fid="00">[FIELD NAME]</field>
<field fid="00">[FIELD NAME]</field>
<field fid="00">[FIELD NAME]</field>
<field fid="00">[FIELD NAME]</field>
<field fid="34">[FIELD NAME]</field>
<field fid="13">[FIELD NAME]</field>
<field fid="7">[FIELD NAME]</field>
<field fid="8">[FIELD NAME]</field>
<field fid="10">[FIELD NAME]</field>
<field fid="11">[FIELD NAME]</field>
<field fid="32">[FIELD NAME]</field>
<field fid="35">[FIELD NAME]</field>


</qdbid>
Photo of QuickBasePros_IDS

QuickBasePros_IDS, Champion

  • 2,266 Points 2k badge 2x thumb
Is your [corporate id] field id#3?  the rid (Record ID#) should still be the [Record ID#] field value even if you have renamed it.  Or if you are using a custom Key Field, use the <key></key> parameter instead.