# Error on git push resin

**URL:** <https://forums.balena.io/t/error-on-git-push-resin/1773>\
**Category:** Product support\
**Tags:** git\
**Created:** [August 29, 2017, 6:56pm UTC](https://forums.balena.io/t/error-on-git-push-resin/1773 "2017-08-29T18:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrian](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@adrian](https://forums.balena.io/u/adrian)\
**Post date:** [August 29, 2017, 6:56pm UTC](https://forums.balena.io/t/error-on-git-push-resin/1773/1 "2017-08-29T18:56:19Z")

</div>

Hi, I’m having issue here trying to do a `git push resin master`:

```
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (10/10), 874 bytes | 0 bytes/s, done.
Total 10 (delta 2), reused 0 (delta 0)

[Info] Starting build for adrian_sanchez/mytest, user adrian_sanchez
[Info] Dashboard link: https://dashboard.resin.io/apps/460134/devices
[Info] Building on ARM01
[Info] Pulling old image for caching purposes
[==================================================>] 100%
[Success] Cached image pulled in 2 seconds
[Info] Fetching base image
[Warning] No image tag given for demosense/resin-deploy-compose, using default (latest)
[==================================================>] 100%
[Info] Building Standard Dockerfile project
[Build] Step 1/2 : FROM demosense/resin-deploy-compose
[Build] ---> 0eaa70b6b8a1
[Build] Step 2/2 : COPY apps /apps
[Build] ---> 2b66287612b4
[Build] Removing intermediate container d55adc2c6e4a
[Build] Successfully built 2b66287612b4
[Build] Successfully tagged registry2.resin.io:443/mytest/deca0010795059f5ea3db94d35483a5b4e75ae09:latest
[Success] Image created successfully
[Info] Verifying image integrity...
[Success] Image passed integrity checks!
[Info] Uploading image to registry...
[Info] Still working...
[Info] Still working...
[Info] Still working...
[=========================>] 50%[Info] Still working...
[Info] Still working...
[Info] Still working...
[=========================>] 50%[Info] Still working...
[=========================>] 50%[Info] Still working...
[Info] Still working...
[=========================>] 50%[Info] Still working...
[=========================>] 50%[Error] Build failed: denied: requested access to the resource is denied

remote: error: hook declined to update refs/heads/master
To adrian_sanchez@git.resin.io:adrian_sanchez/mytest.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'adrian_sanchez@git.resin.io:adrian_sanchez/mytest.git'

```

I tried this many many times, and I always get the same error (it takes a couple of minutes stuck in 50% uploading the image).  
The thing is this same push of the same app and repository was working correctly before (hours earlier), now it doesn’t anymore.

I think there it might be an error on your server side. Any ideas?

---

<div class="post-metadata">

**Author:** ![josephroberts](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/josephroberts/32/233_2.png) [@josephroberts](https://forums.balena.io/u/josephroberts)\
**Post date:** [August 29, 2017, 6:57pm UTC](https://forums.balena.io/t/error-on-git-push-resin/1773/3 "2017-08-29T18:57:20Z")

</div>

We are seeing some API / builder issues at the moment and are currently investigating, [http://status.resin.io/](http://status.resin.io/)

---

<div class="post-metadata">

**Author:** ![imrehg](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/imrehg/32/36_2.png) [@imrehg](https://forums.balena.io/u/imrehg)\
**Post date:** [August 29, 2017, 10:52pm UTC](https://forums.balena.io/t/error-on-git-push-resin/1773/4 "2017-08-29T22:52:44Z")

</div>

Hi @adrian, the issue should be resolved now and the builds should work fine again! Let us know if you run into anything else (hopefully nothing else).
