Error 403 when creating new node through Powershell

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In the past, I was able to create a new Windows node using Powershell with my username and an API Token. The idea is to auto-install a new node and let it automatically join to Jenkins once all the tools are ready.

      Now, I always get an error 403 back, but the node is created on Jenkins. I already tried different approaches, including the creation of a crumb and passing it along my post request. But as far as I understood, this should not even be required when using API Tokens.

      I really don't understand why it's throwing a 403 when everything seems to work. I have attached my script.

            Assignee:
            Unassigned
            Reporter:
            Maximilian
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: