Update: the only way I could fix this was to include a short delay between when I upload the picture and query the API again.
Update: the only way I could fix this was to include a short delay between when I upload the picture and query the API again.