Triggering downstream fails some of the times

I’ve set up a repo ‘libraries’ to trigger downstream builds with the downstream plugin, and it sometimes works, but other times it fails with ‘Error: unable to get latest build for Reisegiganten/frontend’.

Here’s the YAML:

  trigger:
    image: plugins/downstream
    server: https://drone.r12.no
    secrets: [downstream_token]
    repositories:
      - Reisegiganten/frontend

When it succeeds, it goes ‘Restarting build 568 for Reisegiganten/frontend’

Would appreciate any suggestions on how to debug this problem closer. We’re running Drone 0.8.1 in Google Container Engine with the nginx ingress