# Actions Artifact not working - Status Message: Not Found

**URL:** <https://forum.gitea.com/t/actions-artifact-not-working-status-message-not-found/7278>\
**Category:** Actions\
**Created:** [May 15, 2023, 11:42am UTC](https://forum.gitea.com/t/actions-artifact-not-working-status-message-not-found/7278 "2023-05-15T11:42:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reinos\_nl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/reinos_nl/32/5245_2.png) [@reinos\_nl](https://forum.gitea.com/u/reinos_nl)\
**Post date:** [May 15, 2023, 11:42am UTC](https://forum.gitea.com/t/actions-artifact-not-working-status-message-not-found/7278/1 "2023-05-15T11:42:18Z")

</div>

Hi there,

I was testing the artifact option, to move /build files between jobs, but it seems not to work. I

Consider this simple action.yml file that produce a /build folder. (but it even does not work with a simple .txt file).

```auto
name: Deployment to DO
run-name: Deploy to DO by @${{ gitea.actor }} ${{ gitea.actor }}
on: [push]
jobs:
  Build:
    runs-on: root
    steps:
      - name: Check out repository code
        uses: actions/checkout@v3    
      - run: yarn install
      - run: yarn build
      - uses: actions/upload-artifact@v2
        with:
          name: build-artifact
          path: build/

```

The output of the actions is always

```auto
1
With the provided path, there will be 29685 files uploaded
2
::warning::There are over 10,000 files in this artifact, consider creating an archive before upload to improve the upload performance.
3
Starting artifact upload
4
For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
5
Artifact name is valid!
6
Create Artifact Container - Error is not retryable
7
##### Begin Diagnostic HTTP information #####
8
Status Code: 404
9
Status Message: Not Found
10
Header Information: {
11
  "server": "nginx",
12
  "date": "Mon, 15 May 2023 11:38:07 GMT",
13
  "content-type": "text/plain;charset=utf-8",
14
  "content-length": "11",
15
  "connection": "close",
16
  "cache-control": "max-age=0, private, must-revalidate, no-transform",
17
  "set-cookie": [
18
    "i_like_gitea=c222bfabe468c0c5; Path=/; HttpOnly; SameSite=Lax",
19
    "_csrf=J780QaNQD25zw-Pc8Cl3oWnaxRI6MTY4NDE1MDY4NzI1MjM5MTE2OQ; Path=/; Expires=Tue, 16 May 2023 11:38:07 GMT; HttpOnly; SameSite=Lax",
20
    "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax"
21
  ],
22
  "x-content-type-options": "nosniff",
23
  "x-frame-options": "SAMEORIGIN"
24
}
25
###### End Diagnostic HTTP information ######
26
##### Begin Diagnostic HTTP information #####
27
Status Code: 404
28
Status Message: Not Found
29
Header Information: {
30
  "server": "nginx",
31
  "date": "Mon, 15 May 2023 11:38:07 GMT",
32
  "content-type": "text/plain;charset=utf-8",
33
  "content-length": "11",
34
  "connection": "close",
35
  "cache-control": "max-age=0, private, must-revalidate, no-transform",
36
  "set-cookie": [
37
    "i_like_gitea=c222bfabe468c0c5; Path=/; HttpOnly; SameSite=Lax",
38
    "_csrf=J780QaNQD25zw-Pc8Cl3oWnaxRI6MTY4NDE1MDY4NzI1MjM5MTE2OQ; Path=/; Expires=Tue, 16 May 2023 11:38:07 GMT; HttpOnly; SameSite=Lax",
39
    "macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax"
40
  ],
41
  "x-content-type-options": "nosniff",
42
  "x-frame-options": "SAMEORIGIN"
43
}
44
###### End Diagnostic HTTP information ######
45
::error::Create Artifact Container failed: Artifact service responded with 404

```

 ![Screenshot 2023-05-15 at 13.38.55](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/c/c326fc7245c4d5dc6274e724bb4b59c69bf6e0f3.png)

Is there a config that I missed?

---

<div class="post-metadata">

**Author:** ![krlnokrl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/krlnokrl/32/3727_2.png) [@krlnokrl](https://forum.gitea.com/u/krlnokrl)\
**Post date:** [May 25, 2023, 7:11am UTC](https://forum.gitea.com/t/actions-artifact-not-working-status-message-not-found/7278/2 "2023-05-25T07:11:07Z")

</div>

> <https://github.com/go-gitea/gitea/pull/22738>
>
> Implement action artifacts server api.
> 
> This change is used for supporting htt…ps://github.com/actions/upload-artifact and https://github.com/actions/download-artifact in gitea actions. It can run sample workflow from doc https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts. The api design is inspired by https://github.com/nektos/act/blob/master/pkg/artifacts/server.go and includes some changes from gitea internal structs and methods.
> 
> Actions artifacts contains two parts:
> 
> \- Gitea server api and storage (this pr implement basic design without some complex cases supports)
> \- Runner communicate with gitea server api (in comming)
> 
> Old pr https://github.com/go-gitea/gitea/pull/22345 is outdated after actions merged. I create new pr from main branch.
> 
> !\[897f7694-3e0f-4f7c-bb4b-9936624ead45\](https://user-images.githubusercontent.com/2142787/219382371-eb3cf810-e4e0-456b-a8ff-aecc2b1a1032.jpeg)
> 
> Add artifacts list in actions workflow page.

> **[\[bug\] upload-artifact usage not possible](https://gitea.com/actions/upload-artifact/issues/1)**
>
> \### What happened?
> 
> Hello,
> Uploading a file using the upload-artifact action creates an error.
> 
> \### What did you expect to happen?
> 
> It should have uploaded the file and show it in the summary
> 
> \### How can we reproduce it?
> 
> Upload of a file using this...

Looks like it’s not implemented yet and will come in 1.20.
