When I try to run this, I get error-- Invalid kc_url for src

Hello @Kal_Lam,

Does this script work for the eu severs? My account is on the EU URL. From my understanding I would change the config json file to have:
“kc_url”: https://eu.kobotoolbox.org" (and the same for kf_url*)
rather than
“kc_url”: ''https://kf.kobotoolbox.org"

When I try to run this, I get error-- Invalid kc_url for src.

when I change the url back to kf I receive error – Invalid token for src.

I will post this on the github as well to inquire - thanks

Hi @rkopper_wv, yes the script works for any server, but the URLs need to be correct of course. In this case for the EU server we have:

But your confusion is valid since this isn’t necessarily obvious – I’ll update the README to include the URLs for our public servers for reference.

Edit: I’ve added this to the Setup section of the README here. Thanks for flagging it :slight_smile:

3 Likes

Okay! I used the above mentioned edits and it worked great!. Many thanks!

1 Like