Forum Discussion
WallaceYeboah
5 years agoQrew Member
Thanks for the response Ivan. The formula still seems to not be working
Here is the updated formula:
URLRoot() & "db/" & "db/" & Dbid() & "?a=API_EditRecord" & "&_fid_1146=1" & "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
I get this error when I test
------------------------------
Wallace Yeboah
------------------------------
Here is the updated formula:
URLRoot() & "db/" & "db/" & Dbid() & "?a=API_EditRecord" & "&_fid_1146=1" & "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
I get this error when I test
<qdbapi>
<action>API_EditRecord</action>
<errcode>102</errcode>
<errtext>
Invalid request - we cannot understand the URL you specified.
</errtext>
</qdbapi>
------------------------------
Wallace Yeboah
------------------------------
MarkShnier__You
Qrew Legend
5 years agoThe first line of the formula is missing telling the AP:I which record to edit. Perhaps you want this
URLRoot() & "db/" & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&_fid_1146=1"
& "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
URLRoot() & "db/" & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&_fid_1146=1"
& "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- WallaceYeboah5 years agoQrew MemberThanks Mark. I just tried that formula, still no luck. I keep receiving the same error message when I test
------------------------------
Wallace Yeboah
------------------------------- MarkShnier__You5 years ago
Qrew Legend
too many "db/" ...
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&_fid_1146=1"
& "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------- WallaceYeboah5 years agoQrew MemberGreat catch Mark! However, I am now being faced with this new error:
<action>API_EditRecord</action><errcode>24</errcode><errtext>Invalid Application Token</errtext><errdetail>An Application Token must be supplied.</errdetail></qdbapi>
I'm guessing I need to provide a token of some kind, however I am unsure where to place that in the formula.
------------------------------
Wallace Yeboah
------------------------------
- IvanWeiss5 years agoQrew CaptainYou are doubling up on the "db/"
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord....."
------------------------------
Ivan Weiss
------------------------------