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

socket hang up error on attachments #408

Open
kemaghraby opened this issue Feb 23, 2024 · 2 comments
Open

socket hang up error on attachments #408

kemaghraby opened this issue Feb 23, 2024 · 2 comments
Labels

Comments

@kemaghraby
Copy link

Hello, i'm using version 5.0.10 but i am getting socket hang up errors trying to perform attachments upload

This is an example of hat i am doing :

const file = Buffer.from('test', 'utf-8');

const response = zendeskClient.attachments.upload(file, {
  filename: 'test.txt',
  binary: true,
});

and i am always getting socket hang up when using attachments upload method
Could you please advise on what can i do to overcome this issue?

@kemaghraby kemaghraby added the bug label Feb 23, 2024
@kemaghraby kemaghraby changed the title socket hang up error on atatchments socket hang up error on attachments Feb 23, 2024
@ollebergkvist
Copy link

Same issue...

@ganz14
Copy link

ganz14 commented Apr 11, 2024

is there a way to upload the file from stream with holding it in buffer?

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

No branches or pull requests

3 participants