I'm writing code that allows me to download a pdf, but I'm getting an error like this. enter image description here
Why is this happening.
I wrote it like this, but the property could not be read and an error occurred on the 51st line. I would appreciate it if you could tell me the solution.