# Build slug missing in download logs button

**URL:** <https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144>\
**Category:** Website Issues\
**Created:** [October 26, 2017, 11:08pm UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144 "2017-10-26T23:08:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [October 26, 2017, 11:08pm UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/1 "2017-10-26T23:08:53Z")

</div>

Download Logs button on the build page points to [https://www.bitrise.io/api/build//logs.json?&download=log](https://www.bitrise.io/api/build//logs.json?&download=log)  
Which gives json with 404 error. After inserting build slug to the empty path part, file is downloaded properly.

---

<div class="post-metadata">

**Author:** ![norbert](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/norbert/32/21_2.png) [@norbert](https://discuss.bitrise.io/u/norbert)\
**Post date:** [October 27, 2017, 6:55am UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/2 "2017-10-27T06:55:32Z")

</div>

Hi @koral,  
Thanks for reporting. We will check it ASAP.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 28, 2017, 8:23am UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/3 "2017-10-28T08:23:45Z")

</div>

@koral which browser and on which page (url)? So far we could not reproduce this issue.

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [October 28, 2017, 5:38pm UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/4 "2017-10-28T17:38:44Z")

</div>

It is reproducible in all the apps I’ve checked.  
I mean DOWNLOAD LOGS button from the screenshot (visible after clicking LOAD FULL LOGS):

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/5a22170262882856ca320b93c35704ec546f04cc.png)  
One of the build URLs: [Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation](https://www.bitrise.io/build/d790f78366a5b14c)

Browser: Chrome/Chromium 62, both Linux and macOS.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 29, 2017, 8:42am UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/5 "2017-10-29T08:42:49Z")

</div>

Does it work if you’d click it before clicking Load Full Logs?

Download Logs should be available without loading Full Logs; these are separate functions, both available once the build finishes and the log is archived.

That said I tried to reproduce, Chrome 62, macOS, but so far it never happened.

@erosdome please check, might be related to user permissions? 🤔 maybe if the user is not an owner or admin in the project?

---

<div class="post-metadata">

**Author:** ![koral](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/koral/32/357_2.png) [@koral](https://discuss.bitrise.io/u/koral)\
**Post date:** [October 29, 2017, 1:48pm UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/6 "2017-10-29T13:48:48Z")

</div>

> [@viktorbenei](#):
>
> Does it work if you’d click it before clicking Load Full Logs?

There is no such button before.  
Here is how it looks like:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/1c4c757b311961b1bfd7e83ec258972635edceb8.png)

> [@viktorbenei](#):
>
> Download Logs should be available without loading Full Logs

There is only green, “Download log” button (not log **s** ). It works properly.

So to sum up, here are steps to reproduce:

1. Open a build page.
2. Click “LOAD FULL LOGS”.
3. Wait until it turns into “DOWNLOAD LOGS”
4. Click it (not “Download log”).

BTW if those 2 buttons should perform the same action, shouldn’t their text be consistent?

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 29, 2017, 1:55pm UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/7 "2017-10-29T13:55:15Z")

</div>

Ahh, OK, now I totally understand what you mean, thanks for the step by step repro! To be honest I didn’t even know that Load Full Logs once activated transform / changes to “Download Logs” O\_O

I’m not sure when and why this was added. Initially, and this is how I always used these, the “load full logs” button simply disappeared after activation, I believe and the separate green **Download log** button was meant to provide the download functionality. I always used the green Download log to download the logs, didn’t even notice that Load Full Logs also changes to a download button after activation…

In any case I bumped this to the top of our task list for an inspection, thanks again for reporting @koral! 😉

---

<div class="post-metadata">

**Author:** ![norbert](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/norbert/32/21_2.png) [@norbert](https://discuss.bitrise.io/u/norbert)\
**Post date:** [November 3, 2017, 10:24am UTC](https://discuss.bitrise.io/t/build-slug-missing-in-download-logs-button/3144/8 "2017-11-03T10:24:23Z")

</div>

Hi @koral,

We released some changes which should fix all these issues. Please check it and feel free to hive us feedback.

 ![30](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/95d3f17e0d953398efaa2ab0f091e264083f1041.png)
