Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure on successful record removal #158

Closed
gdbarron opened this issue Oct 6, 2021 · 0 comments · Fixed by #159
Closed

Failure on successful record removal #158

gdbarron opened this issue Oct 6, 2021 · 0 comments · Fixed by #159
Assignees
Labels

Comments

@gdbarron
Copy link
Collaborator

gdbarron commented Oct 6, 2021

Environment

Operating System: Windows 10
ServiceNow module version: 3.1
PowerShell version: 5.x

Steps to reproduce

Remove-ServiceNowRecord -Table cmdb_rel_ci -SysId 12345677777777

Expected behavior

Record is deleted and no response/output

Actual behavior

Exception on line 173 of Invoke-ServiceNowRestMethod

Line |
173 | throw ('"{0} : {1}' -f $response.StatusCode, $response | Out- …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| "204 :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant