Forum Discussion
WallaceYeboah
6 years agoQrew Member
Great catch Mark! However, I am now being faced with this new error:
------------------------------
Wallace Yeboah
------------------------------
<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.
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
------------------------------
MarkShnier__You
Qrew Legend
6 years agoYou have two choices.
1. Disable the need for Application tokens. The setting is in the Application Properties tab. You will need to read up on that and decide if you feel that you need that extra layer of security.
2. If you do want to use them, then you go into manage Application tokens and create one and put an extra line in your code.
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&apptoken=xxxxxxxxxxxxxxx"
& "&_fid_1146=1"
& "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
note that you only need the application token if you are editing or creating or deleting records, not to view.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
[email protected]
------------------------------
1. Disable the need for Application tokens. The setting is in the Application Properties tab. You will need to read up on that and decide if you feel that you need that extra layer of security.
2. If you do want to use them, then you go into manage Application tokens and create one and put an extra line in your code.
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&apptoken=xxxxxxxxxxxxxxx"
& "&_fid_1146=1"
& "&rdr=" & URLEncode(URLRoot() & "db/" & [_DBID_JOBS] & "?a=dr&rid=" & [Maximum Related Job])
note that you only need the application token if you are editing or creating or deleting records, not to view.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
[email protected]
------------------------------