You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I have started recently using your youtrack rest-api python client and I am currently having problems running the create_attachment() method to attach a binary file to an issue. I am using a command which is similar to the one I was using for the python 2.7 library, namely:
connectionobject.create_attachment("issueid", name='file.png', content=open('file.png','rb'),authorLogin="username")
I get an error "can't concat bytes to string".
Could you inform me if this method is working and, of possible, what is wrong with the command I am using? Thanks you!
The text was updated successfully, but these errors were encountered:
temaia
changed the title
Create
create_attachment not working
Feb 4, 2019
Sorry, but the current method does not seem to work correctly with the examle you've provided.
The problem is clearly on our end.
Unfortunately, we did not find time to investigate the problem just yet.
We will let you know when we make any progress.
Hi!
I have started recently using your youtrack rest-api python client and I am currently having problems running the create_attachment() method to attach a binary file to an issue. I am using a command which is similar to the one I was using for the python 2.7 library, namely:
connectionobject.create_attachment("issueid", name='file.png', content=open('file.png','rb'),authorLogin="username")
I get an error "can't concat bytes to string".
Could you inform me if this method is working and, of possible, what is wrong with the command I am using? Thanks you!
The text was updated successfully, but these errors were encountered: