Error getting batches of instance IDs: HTTP 401

Am having a problem pulling data using ODK Briefcase from ODK aggregate
i can connect and see the forms the i get success with error
i was able to pull data until i updated java i guess

Am using ODK aggregate 2.0.3
Briefcase 1.18.0
the user am using have administrator permissionJpeg

hi @danny777x ,

could you please attach the briefcase log file? (it should be in the same directory of the jar file).

briefcase.txt (4.4 KB)

Briefcase log file @aurdipas

Hi @danny777x
has your user as well dataviewer/formmanager/datacollector privileges?
Can you also check that the URL has no "/" at the end?
Last..on Aggregate side are the forms marked as downloadable?

2 Likes

@aurdipas thank you for your help, problem solved !

Hi! I'm bouncing on an old question similar to my issue.

I have a similar problem to danny777x, but the error after "Start getting submission IDs" and attachment is "Error getting batches of instance IDs: HTTP 404 Not Found" instead of 401 like the OP.

I have no "/" at the end of the URL.

Any idea what's going on?

I'm using ODKBriefcase to fetch data from kobotoolbox from commandline. The command has worked on the same form until a few days ago, we're in the middle of data collection.

I can still get the forms using the graphical java interface without problem.

Any clue what's going on?

Command: java -verbose: -jar ODK-Briefcase-v1.18.0.jar -plla -sd "BriefcaseStorage" -id "$formid" -u "$username" -p "$passowrd" -U "https://kc.humanitarianresponse.info/$username"

2024-02-20 14:12:02,329 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Start pulling form and submissions
2024-02-20 14:12:02,332 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Start downloading form
2024-02-20 14:12:02,636 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Form downloaded
2024-02-20 14:12:02,636 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Start getting form manifest
2024-02-20 14:12:02,871 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Got the form manifest
2024-02-20 14:12:02,872 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Skipping 4 form attachments that have been already downloaded
2024-02-20 14:12:02,873 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Start getting submission IDs
2024-02-20 14:12:03,054 [ForkJoinPool-1-worker-19] ERROR o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Error getting batches of instance IDs: HTTP 404 Not Found
2024-02-20 14:12:03,090 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Push AKSPCU BASELINE DATA ENTRY AND RF TOOL - There are no submissions to download
2024-02-20 14:12:03,353 [ForkJoinPool-1-worker-19] INFO o.o.b.p.a.PullFromAggregateTracker - Pull AKSPCU BASELINE DATA ENTRY AND RF TOOL - Success with errors

Hi @robinaudy

A warm welcome to the ODK Community, when you get a chance please introduce yourself and we also encourage the use of your photo as an Avatar, this helps build the community.

Since this topic has been resolved and your issue is different from the original issue, next time please start a new topic

Since you are using Kobotoolbox, this might be an issue on their end.
Please see https://support.kobotoolbox.org and https://community.kobotoolbox.org for help from the Kobo team.