Skip to content

NodeJS - Send attachments #5149

Discussion options

You must be logged in to vote

In case it helps anyone, here is the solution to the problem:

const headers = { api_access_token: this.token, ...form.getHeaders(), }

Adding ...form.getHeaders() to the request headers, i solved the problem.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@joeenet
Comment options

@joeenet
Comment options

@bernapastorini
Comment options

Answer selected by bernapastorini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self-hosted Issues about self-hosted Chatwoot installations
2 participants