Skip to main content
Question

Error from URL Formula

  • January 7, 2020
  • 0 replies
  • 34 views

GeorgeBramhall2
Forum|alt.badge.img+11
What have I done wrong (I suck at these)?
I have created this formula:
var text URLONE = URLRoot() & "db/" & Dbid()

& "?act=API_EditRecord&rid=" & [Record ID#] &

"&_fid_8=" & Today() &

"&_fid_9="& URLEncode("RECEIVED");

$URLONE

And I am getting this error:

<qdbapi>
<action>API_EditRecord</action>
<errcode>0</errcode>
<errtext>No error</errtext>
<rid>1</rid>
<num_fields_changed>0</num_fields_changed>
<update_id>1578420560656</update_id>
</qdbapi>


------------------------------
George Bramhall
------------------------------
This topic has been closed for replies.

AdamKeever1
Forum|alt.badge.img+2
  • Registered
  • January 7, 2020
Does your app have tokens enabled? If yes, then you need to add the token to your API.

Try this with your token added in place of the X's:

var text URLONE = URLRoot() & "db/" & Dbid()

& "?act=API_EditRecord&apptoken=XXXXXXXXXXXXXXXXXX&rid=" & [Record ID#] &

"&_fid_8=" & Today() &

"&_fid_9="& URLEncode("RECEIVED");

$URLONE

------------------------------
Adam Keever
------------------------------