{"action":"created","issue":{"url":"https://api.github.com/repos/pnp/pnpjs/issues/172","repository_url":"https://api.github.com/repos/pnp/pnpjs","labels_url":"https://api.github.com/repos/pnp/pnpjs/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/pnp/pnpjs/issues/172/comments","events_url":"https://api.github.com/repos/pnp/pnpjs/issues/172/events","html_url":"https://github.com/pnp/pnpjs/issues/172","id":342632073,"node_id":"MDU6SXNzdWUzNDI2MzIwNzM=","number":172,"title":"'The specified program requires a newer version of Windows' error","user":{"login":"pconnell99","id":11887266,"node_id":"MDQ6VXNlcjExODg3MjY2","avatar_url":"https://avatars2.githubusercontent.com/u/11887266?v=4","gravatar_id":"","url":"https://api.github.com/users/pconnell99","html_url":"https://github.com/pconnell99","followers_url":"https://api.github.com/users/pconnell99/followers","following_url":"https://api.github.com/users/pconnell99/following{/other_user}","gists_url":"https://api.github.com/users/pconnell99/gists{/gist_id}","starred_url":"https://api.github.com/users/pconnell99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pconnell99/subscriptions","organizations_url":"https://api.github.com/users/pconnell99/orgs","repos_url":"https://api.github.com/users/pconnell99/repos","events_url":"https://api.github.com/users/pconnell99/events{/privacy}","received_events_url":"https://api.github.com/users/pconnell99/received_events","type":"User","site_admin":false},"labels":[{"id":802869729,"node_id":"MDU6TGFiZWw4MDI4Njk3Mjk=","url":"https://api.github.com/repos/pnp/pnpjs/labels/area:%20documentation","name":"area: documentation","color":"eaeaea","default":false},{"id":802867713,"node_id":"MDU6TGFiZWw4MDI4Njc3MTM=","url":"https://api.github.com/repos/pnp/pnpjs/labels/status:%20answered","name":"status: answered","color":"128A0C","default":false},{"id":802864291,"node_id":"MDU6TGFiZWw4MDI4NjQyOTE=","url":"https://api.github.com/repos/pnp/pnpjs/labels/type:%20question","name":"type: question","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-19T08:38:28Z","updated_at":"2018-07-30T11:01:29Z","closed_at":"2018-07-27T14:12:44Z","author_association":"NONE","body":"Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your\r\nneeds please complete the below template to ensure we have the details to help. Thanks!\r\n\r\n**Please check out the [Docs](https://pnp.github.io/pnpjs/) to see if your question is already addressed there. This will help us ensure our documentation covers the most frequent questions.**\r\n\r\n### Category\r\n- Bug\r\n\r\n### Version\r\n\r\nPlease specify what version of the library you are using: 1.1.2\r\n\r\n### Expected / Desired Behavior / Question\r\nAdd a column to a list.\r\n\r\n### Observed Behavior\r\nAttempting to add multiple columns to a list in a set of Promise.all() calls, many throw an error  - body contents:-\r\n\r\n```\r\n{ error:\r\n   { code: '-2147023746, Microsoft.SharePoint.SPException',\r\n     message:\r\n      { lang: 'en-US',\r\n        value: 'The specified program requires a newer version of Windows. (Exception from HRESULT: 0x8007047E)' }\r\n }\r\n }\r\n```\r\n### Steps to Reproduce\r\nTrying to create columns on a new list:-\r\n\r\n``` \r\nretvar.push(sp.web.lists.getById(listID).fields.addText(\"Department\", 255, {\r\n        Description: \"Department of person making request.\",\r\n        EnforceUniqueValues: false,\r\n        Required: true,\r\n        DefaultFormula: ''\r\n    }));\r\n   return Promise.all(retvar);\r\n```\r\n\r\nI am setting multiple headers as per previous issues found online:-\r\n\r\n```\r\nsp.setup({\r\n    sp: {\r\n        fetchClientFactory: () => {\r\n            return new SPFetchClient(config[rtFlag].siteURL, config[rtFlag].appID, config[rtFlag].appSecret);\r\n        },\r\n        headers: {\r\n            \"accept\": \"application/json;odata=verbose\",\r\n            \"content-type\": \"application/json;odata=verbose\",\r\n            \"odata-version\": \"3.0\",\r\n            \"UserAgent\": \"ISV|OurCompany|ListCreator/1.0\"\r\n        }\r\n    },\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/pnp/pnpjs/issues/comments/408826437","html_url":"https://github.com/pnp/pnpjs/issues/172#issuecomment-408826437","issue_url":"https://api.github.com/repos/pnp/pnpjs/issues/172","id":408826437,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODgyNjQzNw==","user":{"login":"pconnell99","id":11887266,"node_id":"MDQ6VXNlcjExODg3MjY2","avatar_url":"https://avatars2.githubusercontent.com/u/11887266?v=4","gravatar_id":"","url":"https://api.github.com/users/pconnell99","html_url":"https://github.com/pconnell99","followers_url":"https://api.github.com/users/pconnell99/followers","following_url":"https://api.github.com/users/pconnell99/following{/other_user}","gists_url":"https://api.github.com/users/pconnell99/gists{/gist_id}","starred_url":"https://api.github.com/users/pconnell99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pconnell99/subscriptions","organizations_url":"https://api.github.com/users/pconnell99/orgs","repos_url":"https://api.github.com/users/pconnell99/repos","events_url":"https://api.github.com/users/pconnell99/events{/privacy}","received_events_url":"https://api.github.com/users/pconnell99/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T11:01:29Z","updated_at":"2018-07-30T11:01:29Z","author_association":"NONE","body":"Happy with close - will pursue batching."}}
{"actor":{"display_login":"pconnell99"}}