Missing occ IDs in some upload batches

In which Wildbook did the issue occur? ACW

What operating system were you using? Win 10

What web browser were you using? latest chrome

What is your role on the site? admin

What happened? I was spot checking some recently uploaded encounters and noticed in the search table of results that there were some missing Occ. IDs - this is already a known issue for us; when we check the individual encounters, there is usually an Occ ID in the record that just isn’t being displayed in the search table.

However, in this case, I found instances where the Occ Id field in the encounter records says “none assigned”.

What did you expect to happen? The system to assign Occ IDs to encounters in bulk uploads that do not have one assigned in the bulk import spreadsheet.

What are some steps we could take to reproduce the issue?
Here are the bulk import task IDs where I found instances of this issue:

  1. https://africancarnivore.wildbook.org/imports.jsp?taskId=06b5f4a0-8fc6-45bc-912b-a0180f783866
    Ex’s of missing OccID in encounters from that import:
  2. Batch: https://africancarnivore.wildbook.org/imports.jsp?taskId=ac7ee627-5364-43cd-82aa-b420ccf5b2bd
    Ex: https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=baac3c90-1366-4c6b-91f3-34847fd9de85

Note: I haven’t checked all batches or all encounters, this is the result of a spot check. If there’s a way for you to use the script that Colin used the last time we saw this issue to find all examples of this in the system and correct them, that would be great.


If this is a bulk import report, send the spreadsheet to services@wildme.org with the email subject line matching your bug report Done

Hi Maureen,

I double checked our code. We do not auto-create occurrences if the bulk import spreadsheet leaves the field blank. Did we document this incorrectly somewhere?


Hi @jason - here’s where I got the impression that the system will auto-create an occurrence ID if that column is blank in a bulk import spreadsheet: Bulk upload - blank occurrence ID column - what happens? - #2 by colin

Did I misunderstand?


Apologies, that is incorrect. It is a good feature request though. It makes sense.