> For the complete documentation index, see [llms.txt](https://i.janardhanpulivarthi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://i.janardhanpulivarthi.com/coursera-dl-httperror-400.md).

# Coursera-dl HTTPError: 400

{% embed url="<https://youtu.be/gQ9a8C6SUBc>" %}

### Solution

#### Assumptions

1 If you are downloading <https://www.coursera.org/learn/**`[CLASS-NAME]`**/home/info\\>
For example:\
`class home`: <https://www.coursera.org/learn/cloud-infrastructure-design-process/home/info>\
Here **`[CLASS-NAME]`** = `cloud-infrastructure-design-process`

2 Obtain **`CAUTH`** token for the course

* [x] Navigate to the `class home`
* [x] Right click > select `Inspect`

<div align="left"><img src="/files/MEUZqchOzHSanrHWLZ2x" alt="Select Inspect option"></div>

* [x] Select `Application`

![](/files/SLFQTsxcotpvRMQoCxnv)

* [x] Take note of the `CAUTH`

![CAUTH token](/files/-MVoZ15O5KCfJea93GdV)

#### Snippet

```bash
# General command
coursera-dl -ca 'CAUTH' [CLASS-NAME]

# Example
coursera-dl -ca 't7OlopZp-vgTjHpFalsljlskfdlfakf' cloud-infrastructure-design-process
```

### References

1. <https://github.com/coursera-dl/coursera-dl/issues/702>
