How to deal with "HTTP ERROR 403 No valid crumb was included in the request" Jenkins?
How to deal with "HTTP ERROR 403 No valid crumb was included in the request" Jenkins? Question: I try to abort Jenkins job build using python requests. This is my python code: crumb_value = ( requests.get(f"https://{usr}:{psw}@<jenkins url>/crumbIssuer/api/json", verify=False)).json()["crumb"] jenkins_abort = requests.post(f"https://{usr}:{psw}@<job url>/stop", json={‘Jenkins-Crumb’: crumb_json}, verify=False) So firstly I use Get request to get crumb value …