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

Zero size files cause 'Bad Request' error #241

Closed
mhouston100 opened this issue Mar 16, 2023 · 1 comment · Fixed by #240
Closed

Zero size files cause 'Bad Request' error #241

mhouston100 opened this issue Mar 16, 2023 · 1 comment · Fixed by #240

Comments

@mhouston100
Copy link

Environment

Operating System: Windows 10 
ServiceNow module version: 3.4.3
PowerShell version:

Steps to reproduce

  1. Create Session
  2. Attach an empty file

Screenshots

This is a really minor issue, I would hardly call it a bug however attempting to attach a zero size file fails. We were testing some solutions using the module and were creating different files on the fly to test and the result is a 400 'Bad Request' error.

Probably not a situation that would come up often but worth reporting.

gdbarron added a commit that referenced this issue Mar 16, 2023
@gdbarron
Copy link
Collaborator

Minor or not, I appreciate you reporting it! This will be fixed in an upcoming release.

@gdbarron gdbarron linked a pull request Mar 16, 2023 that will close this issue
@gdbarron gdbarron mentioned this issue Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants