# Upstream API server/DB error: delta1 that originates from an image1...

**URL:** <https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664>\
**Category:** Project help\
**Tags:** balena-cli\
**Created:** [October 12, 2021, 11:37pm UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664 "2021-10-12T23:37:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmorrisonMW](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jmorrisonMW](https://forums.balena.io/u/jmorrisonMW)\
**Post date:** [October 12, 2021, 11:37pm UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/1 "2021-10-12T23:37:00Z")

</div>

Have been pushing successfully all day, when suddenly I’m encountering this error

` Upstream API server/DB error: It is necessary that each image that is produced by a delta1 that originates from an image1, is produced by at most one delta that originates from the image1 and has a version that is of the delta1 and has a status that is equal to "success".`

I’ve reverted my git repo back to versions that were pushing just fine earlier, and still getting that error.

Is something else up with the Balena servers? What am I doing wrong? I can’t find anything on this error through searching.

---

<div class="post-metadata">

**Author:** ![jmorrisonMW](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jmorrisonMW](https://forums.balena.io/u/jmorrisonMW)\
**Post date:** [October 13, 2021, 12:30am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/2 "2021-10-13T00:30:54Z")

</div>

There was an outage.

If ever someone else with a similar issue ever comes across this forum post, and is confused like I was, check Balena status here.  
[https://status.balena.io/](https://status.balena.io/)

---

<div class="post-metadata">

**Author:** ![jmorrisonMW](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jmorrisonMW](https://forums.balena.io/u/jmorrisonMW)\
**Post date:** [October 13, 2021, 12:31am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/3 "2021-10-13T00:31:32Z")

</div>

Well actually, outage looks resolved, but I still cannot push an update.  
☹

---

<div class="post-metadata">

**Author:** ![shadow](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@shadow](https://forums.balena.io/u/shadow)\
**Post date:** [October 13, 2021, 12:33am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/4 "2021-10-13T00:33:46Z")

</div>

You’re not alone. I’ve been getting this error in the last couple hours. Now on my balenaCloud releases page for my fleet I’m seeing all my release attempts as either “Cancelled” or “running” despite them all being local builds, and none of the releases that I’ve tried have succeeded.

Turning the --debug flag on for the balena deploy command ends with:

```auto
===usual deploy messages truncated===
[Debug] Creating project...
[Info] Everything is up to date (use --build to force a rebuild)
[Info] Creating release...
[Error] Deploy failed      
It is necessary that each image that is produced by a delta1 that originates from an image1, is produced by at most one delta that originates from the image1 and has a version that is of the delta1 and has a status that is equal to "success".

BadRequestError: It is necessary that each image that is produced by a delta1 that originates from an image1, is produced by at most one delta that originates from the image1 and has a version that is of the delta1 and has a status that is equal to "success".    
    at wrapResponseError (C:\snapshot\volume\node_modules\balena-release\build\models.js:48:19)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async createImage (C:\snapshot\volume\node_modules\balena-release\build\api.js:80:19)
    at async C:\snapshot\volume\node_modules\balena-release\build\api.js:43:21
From previous event:
    at processImmediate (internal/timers.js:456:21)
    at process.topLevelDomainCallback (domain.js:137:15)
From previous event:
    at Object.create (C:\snapshot\volume\node_modules\balena-release\build\api.js:38:20)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async createRelease (C:\snapshot\volume\build\utils\compose.js:113:40)
    at async runSpinner (C:\snapshot\volume\build\utils\compose_ts.js:797:16)
    at async deployProject (C:\snapshot\volume\build\utils\compose_ts.js:747:22)
    at async DeployCmd.deployProject (C:\snapshot\volume\build\commands\deploy.js:150:27)
    at async DeployCmd.run (C:\snapshot\volume\build\commands\deploy.js:50:25)
    at async DeployCmd._run (C:\snapshot\volume\node_modules\@oclif\command\lib\command.js:43:20)
    at async Config.runCommand (C:\snapshot\volume\node_modules\@oclif\config\lib\config.js:175:24)
    at async CustomMain.run (C:\snapshot\volume\node_modules\@oclif\command\lib\main.js:27:9)
    at async CustomMain._run (C:\snapshot\volume\node_modules\@oclif\command\lib\command.js:43:20)
    at async C:\snapshot\volume\build\app.js:72:13
    at async Promise.all (index 2)
    at async oclifRun (C:\snapshot\volume\build\app.js:90:5)
    at async Object.run (C:\snapshot\volume\build\app.js:102:9)
    at async run (C:\snapshot\volume\bin\balena:20:2)

For further help or support, visit:
https://www.balena.io/docs/reference/balena-cli/#support-faq-and-troubleshooting

```

---

<div class="post-metadata">

**Author:** ![osoelectronics](https://avatars.discourse-cdn.com/v4/letter/o/c6cbf5/32.png) [@osoelectronics](https://forums.balena.io/u/osoelectronics)\
**Post date:** [October 13, 2021, 1:00am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/5 "2021-10-13T01:00:06Z")

</div>

Likewise - I started getting this error about an hour ago, and couldn’t figure out what was going on. The [status page](https://status.balena.io/) reports everything is operational, but I can’t get any `balena push` to go through without this error.

---

<div class="post-metadata">

**Author:** ![adamshapiro0](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@adamshapiro0](https://forums.balena.io/u/adamshapiro0)\
**Post date:** [October 13, 2021, 1:02am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/6 "2021-10-13T01:02:01Z")

</div>

Same here. Built successfully around 3 hours ago, but have been getting this error ever since. This is an extremely unhelpful error message unfortunately, but I assume it’s related to the incident reported this morning that was supposedly fixed? Maybe the fix didn’t quite work?

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [October 13, 2021, 1:21am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/7 "2021-10-13T01:21:21Z")

</div>

Hi all, we are currently restarting the builders and backend infrastructure, looks like some of our processes are failing at the moment. Thanks for the report, and sorry for the inconvenience!

---

<div class="post-metadata">

**Author:** ![cmfcruz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/cmfcruz/32/6878_2.png) [@cmfcruz](https://forums.balena.io/u/cmfcruz)\
**Post date:** [October 13, 2021, 5:33am UTC](https://forums.balena.io/t/upstream-api-server-db-error-delta1-that-originates-from-an-image1/349664/8 "2021-10-13T05:33:22Z")

</div>

Hi all, our builder experienced an outage earlier today which we posted to our status page ([https://status.balena.io](https://status.balena.io)). This issue should be resolved now so you can retry your deploy. We will be posting a post-mortem soon.

> **[Elevated GIT/Application Builder Errors](https://status.balena.io/incidents/b2t4ft8ltmsq)**
