Unable to upload JPG timelapse sequences (GoPro MAX2) with both Desktop Uploader and mapillary_tools – is it just me?

Hi everyone,

First of all, I’m not sure this is the correct category for my question, so, if there’s a better one, let me know and I’ll move it.

I’m running into an issue with my very first attempt at uploading JPG timelapse sequences instead of videos, and I’m not sure whether I’m doing something wrong, if I’ve hit a bug, or if this is a more general issue.

Until now I’ve always uploaded videos (either 360° or front-facing) captured with my GoPro MAX, and everything worked perfectly.

This time I wanted to try the timelapse photo workflow.

My setup

  • Camera: GoPro MAX2
  • Capture mode: Timelapse photos
  • Interval: 0.5 s
  • GPS enabled
  • JPEG images (not video)
  • Around 4,700 images split across several folders (100GOPRO, 101GOPRO, …)

The images appear to contain valid GPS EXIF information.

mapillary_tools

I first tried:
mapillary_tools process_and_upload
--user_name rmic
--skip_process_errors
...

Processing succeeds:

  • 4688 images read
  • 4508 images ready
  • 154 duplicates removed
  • 26 images skipped because of missing geotags

Then the upload fails immediately on the first sequence with:

HTTPError: 400 Bad Request

ProcessingFailedError:
Request processing failed

The server returns:
{
"debug_info": {
"retriable": false,
"type": "ProcessingFailedError",
"message": "Request processing failed"
}
}
I checked the first reported image (GPAA0096.JPG):

  • JPEG is valid
  • EXIF is present
  • GPS is present
  • exiftool reports only minor warnings
  • the image opens normally and can be re-encoded without errors

So I don’t think the image itself is corrupted.

Desktop Uploader

I then tried the Desktop Uploader.

Unfortunately, it also fails. The debug log only shows repeated successful requests (HTTP 200) to the upload endpoint, but the upload never completes. I’ve attached screenshots of the log.

My questions

  • Has anyone successfully uploaded GoPro MAX2 timelapse JPG sequences recently?
  • Is anyone else experiencing the same issue, or is it just me?
  • Is there a known issue with JPEG timelapse uploads at the moment?
  • Is there a limit on sequence size, image count or total pixels that I might be hitting?
  • Are there any additional debug logs or diagnostics I could enable to better understand what the server is rejecting?

I’d be happy to provide additional logs, sample images or run further tests if that helps.

Thanks in advance!

1 Like

Thank you for the report. Is that recent fails, like today? As we have some issues with uploading right now (not for everyone, which is good and bad), looking at it.

I need to take a look at the code, but if the uploader went to the upload itself, it means all the checks were fine, and even if the files are wrong or unsupported, the uploading itself should be successful. So, I would point to the server-side issue as the most probable cause.

__
BR, Yaro

Hi Yaro !

Thanks for your quick answer !

Yes it happened less than an hour ago. I uploaded videos yesterday evening (EU time) without any problem.

I just gave it another try and here’s what the CLI tools produced :
[12:52:22] [~] ❱❱❱ mapillary_tools process_and_upload --user_name rmic --skip_process_errors /Volumes/Untitled/DCIM/100GOPRO/ /Volumes/Untitled/DCIM/101GOPRO/ /Volumes/Untitled/DCIM/102GOPRO/ /Volumes/Untitled/DCIM/103GOPRO/ /Volumes/Untitled/DCIM/104GOPRO/
12:52:48.494 - INFO - Verifying profile "rmic"...
12:52:48.981 - INFO - Uploading to profile "rmic": rmic (ID: 1852544948701974)
12:52:49.117 - INFO - ==> Processing 4688 files with source native...
Extracting images: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4688/4688 [00:55<00:00, 85.15images/s]
12:53:44.211 - INFO - ==> Processing 26 files with source exiftool_runtime...
Extracting images: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 26/26 [00:00<00:00, 76.08images/s]
12:53:44.995 - INFO - ==> Processing sequences...
12:53:45.000 - INFO - Created 5 sequences by folders and cameras
12:53:45.004 - INFO - Split sequence at GPAB1439.JPG: time gap too large (2555 seconds > 60 seconds)
12:53:45.004 - INFO - Split sequence at GPAD2050.JPG: pixels too large (6001634304 > 6000000000)
12:53:45.005 - INFO - Split sequence at GPAE3690.JPG: pixels too large (6001634304 > 6000000000)
12:53:45.006 - INFO - Split sequence at GPAA0711.JPG: pixels too large (6001634304 > 6000000000)
12:53:45.007 - INFO - Split sequence at GPAF4689.JPG: pixels too large (6001634304 > 6000000000)
12:53:45.008 - INFO - Split sequence at GPAE2691.JPG: pixels too large (6001634304 > 6000000000)
12:53:45.008 - INFO - Split sequences: 5 -> 11
12:53:45.015 - INFO - Duplication check: 154 image duplicates removed (with duplicate_distance=0.1 and duplicate_angle=5.0)
12:53:45.031 - INFO - Split sequence at GPAA0132.JPG: distance gap too large (145.171 meters > 100 meters)
12:53:45.033 - INFO - Split sequences: 11 -> 12
12:53:45.036 - INFO - ==> Validating 4688 metadatas...
12:53:45.727 - INFO - ==> Process summary
12:53:45.728 - INFO - 4688 image read in total
12:53:45.728 - INFO - 4508 (10.0 GB) ready
12:53:45.729 - WARNING - 26 (55.2 MB) MapillaryGeoTaggingError
12:53:45.729 - WARNING - 154 (282.7 MB) MapillaryDuplicationError
12:53:45.732 - INFO - ==> Uploading...
Uploading IMAGE (1/12): 87%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 554M/638M [00:01<00:00, 439MB/s]12:53:55.485 - WARNING - Error uploading sequence_0/GPAA1094.JPG at offset=1953639 since begin_offset=0: HTTPError: 400 Client Error: Bad Request for url: ``https://rupload.facebook.com/mapillary_public_uploads/mly_tools_c1008d760ce33ea6bc7750a949415316.jpg
12:53:55.548 - WARNING - Error uploading sequence_0/GPAA1154.JPG at offset=2854232 since begin_offset=0: HTTPError: 400 Client Error: Bad Request for url: ``https://rupload.facebook.com/mapillary_public_uploads/mly_tools_b7686ca587d27943d893e7df0089ee01.jpg
12:53:56.713 - WARNING - Error uploading sequence_0/GPAA1393.JPG at offset=3460142 since begin_offset=0: HTTPError: 400 Client Error: Bad Request for url: ``https://rupload.facebook.com/mapillary_public_uploads/mly_tools_c9be2b022b45e43bda66602aecdd7559.jpg
12:53:56.821 - WARNING - Error uploading sequence_0/GPAA1218.JPG at offset=2029490 since begin_offset=0: HTTPError: 400 Client Error: Bad Request for url: ``https://rupload.facebook.com/mapillary_public_uploads/mly_tools_1eb9387ec46a61e930a3f73c8e6f4670.jpg
Uploading IMAGE (1/12): 87%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 554M/638M [00:03<00:00, 182MB/s]
12:53:56.986 - INFO - ==> Upload summary
12:53:56.986 - INFO - Nothing uploaded. Bye.
12:53:56.987 - ERROR - HTTPError: POST ``https://rupload.facebook.com/mapillary_public_uploads/mly_tools_c1008d760ce33ea6bc7750a949415316.jpg`` => 400 Bad Request: {"debug_info": {"retriable": false, "type": "ProcessingFailedError", "message": "Request processing failed"}}

1 Like

The issue causing these BAD requests has been resolved. Please try uploading again.
__
BR, Yaro