# Can't upload artifact from gui 2.3.0

**URL:** <https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969>\
**Category:** General Discussions\
**Created:** [May 26, 2020, 12:20am UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969 "2020-05-26T00:20:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cakebread](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cakebread/32/637_2.png) [@cakebread](https://hub.mender.io/u/cakebread)\
**Post date:** [May 26, 2020, 12:20am UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969/1 "2020-05-26T00:20:13Z")

</div>

With a production open source 2.3.0 mender-server, I’m unable to upload an artifact through the gui.

When I click on “Create a deployment” it pops up a window that says there are no artifacts, upload one to the repository. I click that and it brings me back to the dashboard.

The only way I can (try to) upload an artifact is on the “Releases” tab.

I’ve tried several file types, plain text files, images, but none have worked.

Using Chrome, the gui shows it’s generating artifact, the upload progress is 100% and seems to complete, but then I see nothing under ‘Release’ - it says there are no artifacts, upload one.

With Firefox, it shows ‘Generating artifact’ but hangs there forever. Beneath that I can see "Upload progress (100%). I opened the javascript console and see this error:

```
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data[artifacts-api.js:38:52](webpack:///src/js/api/artifacts-api.js)

postFormData artifacts-api.js:38

callback client.js:645

g client.js:463

emit index.js:145

onreadystatechange client.js:761
```

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [May 26, 2020, 6:43am UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969/2 "2020-05-26T06:43:00Z")

</div>

There are some known issues with this and it has been discussed here,

> [@Mender-proxy/deployments unable to upload files to minio](https://hub.mender.io/t/mender-proxy-deployments-unable-to-upload-files-to-minio/1637/15):
>
> @bakern can you please send me the logs from all your containers (or, if it makes your life easier, at least workflows-server and create-artifact-worker) when uploading a single file artifact from the UI?

@tranchitella, maybe you have more information?

---

<div class="post-metadata">

**Author:** ![rick](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@rick](https://hub.mender.io/u/rick)\
**Post date:** [June 7, 2020, 6:58pm UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969/3 "2020-06-07T18:58:15Z")

</div>

I too have the same error. I have followed the v2.3 Production server tutorial and cant upload anything. There was no problems with the demo server though.  
Interestingly, I can upload it via minio web UI.  
I have the same syntax error on the same line, as @cakebread, but before that, I get the following:

> POST [https://MYDOMAIN/api/management/v1/deployments/artifacts/generate](https://MYDOMAIN/api/management/v1/deployments/artifacts/generate) 413 (Request Entity Too Large)

I am using a 6.7MB artifact, the same as mender-demo tutorial. A simple python script does not trigger the 413 error, it uploads to minio but does not show as a new artifact in mender.

---

<div class="post-metadata">

**Author:** ![cakebread](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/cakebread/32/637_2.png) [@cakebread](https://hub.mender.io/u/cakebread)\
**Post date:** [June 11, 2020, 10:18pm UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969/4 "2020-06-11T22:18:22Z")

</div>

Still broken in Version: 2.4.0b1

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [June 15, 2020, 7:21am UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969/5 "2020-06-15T07:21:26Z")

</div>

I believe this is a known problem, some additional details can be found here

[https://tracker.mender.io/browse/MEN-3539](https://tracker.mender.io/browse/MEN-3539).

Unfortunately this bug was in 2.3 and 2.4.0b1, but is fixed for the 2.4.0 final release.

---

<div class="post-metadata">

**Author:** ![adriaticc](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/adriaticc/32/1137_2.png) [@adriaticc](https://hub.mender.io/u/adriaticc)\
**Post date:** [April 24, 2021, 3:15am UTC](https://hub.mender.io/t/cant-upload-artifact-from-gui-2-3-0/1969/6 "2021-04-24T03:15:49Z")

</div>

Here’s [one solution related to using self-signed certs.](https://hub.mender.io/t/mender-server-gui-not-displaying-application-py-update-artifact-using-self-hosted-production-server/3061/8)
