Can someone please help me with this issue? I started getting this error when trying to build. What could be causing this?
Force rebuild and deploy did not help, as some other users suggested.
2024-12-07T17:49:12.226017062Z [34m│[0m
2024-12-07T17:49:12.226152922Z [34m│[0m command exited with code 246
2024-12-07T17:49:12.274886528Z [34m│[0m
2024-12-07T17:49:12.275675118Z [34m│[0m [33m » an error occurred, trying again (attempt #4)[0m
2024-12-07T17:49:18.847623068Z [34m│[0m Adding layer 'heroku/nodejs-engine:nodejs'
2024-12-07T17:49:20.168892421Z [34m│[0m Adding layer 'heroku/nodejs-engine:yarn'
2024-12-07T17:49:30.588161899Z [34m│[0m Adding 2/2 app layer(s)
2024-12-07T17:49:30.596281323Z [34m│[0m Adding layer 'launcher'
2024-12-07T17:49:30.634613129Z [34m│[0m Adding layer 'config'
2024-12-07T17:49:30.635732397Z [34m│[0m Adding label 'io.buildpacks.lifecycle.metadata'
2024-12-07T17:49:30.636463389Z [34m│[0m Adding label 'io.buildpacks.build.metadata'
2024-12-07T17:49:30.636584080Z [34m│[0m Adding label 'io.buildpacks.project.metadata'
2024-12-07T17:49:30.637429575Z [34m│[0m Saving <image-1>...
2024-12-07T17:49:30.691447267Z [34m│[0m *** Images (sha256...):
2024-12-07T17:49:30.691652214Z [34m│[0m <image-2> - HEAD <registry-uri-3> unexpected status code 401 Unauthorized (HEAD responses have no body, use GET for details)
2024-12-07T17:49:30.758917154Z [34m│[0m [31;1mERROR: [0mfailed to export: failed to write image to the following tags: [<image-4>: HEAD <registry-uri-5> unexpected status code 401 Unauthorized (HEAD responses have no body, use GET for details)]
2024-12-07T17:49:30.762275070Z [34m│[0m
2024-12-07T17:49:30.762402318Z [34m│[0m command exited with code 246
2024-12-07T17:49:30.830389363Z [34m│[0m [31m ✘ image upload failed[0m
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
It looks like there was an incident reported that was affecting App Platform deployments:
Are you still seeing the problem? If so, it might be best to reach out to the DigitalOcean support team:
- Bobby.