[Download API] 403 Forbidden trying to download with token

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
asdff45
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sun Aug 07, 2016 1:23 pm
Contact:

[Download API] 403 Forbidden trying to download with token

Post by asdff45 »

Starting yesterday (Saturday, 5th October 2024) the download api is always returning Error 403-Forbidden when downloading factorio with username and token to authenticate.
Funnily it still works when opening the link in a browser where you are already logged in (i guess it uses the cookie auth instead of the parameters in that case, which causes the params to be ignored and the download to succeed)

Examples:
Open this link in a private browser tab, results in the error:

Code: Select all

https://www.factorio.com/get-download/1.1.110/alpha/win64-manual?username=asdff45&token=<token>
The Nix factorio package is also unable to download factorio cause of that.

Code: Select all

error: unable to download 'https://factorio.com/get-download/1.1.110/alpha/linux64?username=greaka&token=<miep>': HTTP error 403

       response body:

       <!doctype html>
       <html lang=en>
       <title>403 Forbidden</title>
       <h1>Forbidden</h1>
       <p>You don&#39;t have the permission to access the requested resource. It is either read-protected or not readable by the server.</p>
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [Download API] 403 Forbidden trying to download with token

Post by Sanqui »

Sorry, I'll fix this tomorrow. For now you can work-around this by using the latest, stable, or experimental in place of 1.1.110 (all point towards 1.1.110 at the moment.)
ovo
User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 326
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: [Download API] 403 Forbidden trying to download with token

Post by Sanqui »

Fixed
ovo
asdff45
Long Handed Inserter
Long Handed Inserter
Posts: 65
Joined: Sun Aug 07, 2016 1:23 pm
Contact:

Re: [Download API] 403 Forbidden trying to download with token

Post by asdff45 »

Thank you
Post Reply

Return to “Technical Help”