Failed to download backup from d1

https://dash.cloudflare.com/api/v4/accounts/XXXXXX/d1/database/XXXXXX/backup/XXXXXX/download returns:

{
  "result": null,
  "result_info": null,
  "success": false,
  "errors": [
    {
      "code": 7500,
      "message": "Internal error"
    }
  ],
  "messages": []
}

It will fail if you download right after triggering a manual backup.