I've written a script that looks like it works, except it doesn't. The Python script does the following, but I've left out token refreshes and pauses that exist in the script:
Retrieving access token...
Access token from tokens.json: 1000.aNOTTHEREALTOKENHERE123216546546546546461
Access token retrieved successfully.
Attempting to add user 123456789 to task 12345647890123456789. Status code: 200
Successfully added user 123456789 to task 12345647890123456789
Attempting to add user 234567890 to task 12345647890123456789. Status code: 200
Successfully added user 234567890 to task 12345647890123456789
Attempting to add user 345678901 to task 12345647890123456789. Status code: 200
Successfully added user 345678901 to task 12345647890123456789
Retrieving access token...
Access token from tokens.json: 1000.aNOTTHEREALTOKENHERE123123123123123123
Access token retrieved successfully.
Attempting to add user 123456789 to task 23456478901234567890. Status code: 200
Successfully added user 123456789 to task 23456478901234567890
Attempting to add user 234567890 to task 23456478901234567890. Status code: 200
Successfully added user 234567890 to task 23456478901234567890
Attempting to add user 345678901 to task 23456478901234567890. Status code: 200
Successfully added user 345678901 to task 23456478901234567890
Done adding followers to all tasks
According to the script, everything is peachy, but when I look at the project through the GUI, there's no change made.
Any idea what might be causing me this issue? It definitely returns my projects and users, and acts like it successfully adds follower.
Is this the correct string to add a follower to a task?
- follow_user(task_id, project_id, user_id_1, headers)