Skip to main content
Question

Error from URL Formula

  • Jan 7, 2020 6:48 PM UTC
  • 1 reply
  • 54 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.

1 reply

AdamKeever1
Forum|alt.badge.img+2
  • Qrew Commander
  • Jan 7, 2020 7:11 PM UTC
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
------------------------------