For some reason, this function is working properly. The terminal is outputting newbootstrap.sh: 2: Syntax error: "(" unexpected Here is my code (line 2 is function MoveToTarget() {) #!/... What should I do with "Unexpected indent" in Python?

Understanding the Context

[duplicate] Asked 16 years, 10 months ago Modified 2 years, 9 months ago Viewed 1.4m times This is why you're getting the "Unexpected token '<'" error, because the HTML is not valid JSON. To fix this issue, you need to check what the server is sending back and make sure it's returning a JSON object.