Skip to content

Example for using the "create_attachment" function? #129

@TheMechanic97

Description

@TheMechanic97

I have tried using the path to a file as the upload_stream as well as opening the file to use the contents.

Using the path returns an ID and URL but they lead to a null (File does not exist) exception.

Using the contents of the file result in "'utf8' codec can't decode byte 0xff in position 0: invalid start byte".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions