I am trying to access a variable's energy demand value using the API. My colleague had written a script which worked under LEAP version 1.41, in which we accessed the function "valueRS(region,scenario,year)" for a particular variable. When I try re-running the script using a LEAP area v1.68 (after updating the area to be compatible with the 1.68), I get the following error:
Looks like you are indeed passing an invalid parameter to the function. Region IDs should all have values of +1 or higher.