-
Notifications
You must be signed in to change notification settings - Fork 74
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
client.attachments.createAttachmentForTask is not a function #220
Comments
Hello @shi-yan ! I'm the person to blame for that. Basically, we generate those samples from our OpenAPI spec, but the auto-generation for creating attachments is not correct (as it has to be a special case for each client library). You'll likely want to use something like:
( Stolen from #4 ) Let me know if you still have any issues, and I'll take note that I need to update the docs! |
Thanks, the suggested workaround did it. The docs still suggest |
@rossgrambo-zz hi, is there a way i can attach two files? i only can one and if i try to attach two files it only attach one and ignore the other one, i would appreciate any help, thank you |
@rossgrambo-zz FYI the docs STILL say this. It also seems that there is no dispatcher.dispatch on the asana client. It also appears that Asana's published Postman workspace has the wrong form for this to work |
followed
https://developers.asana.com/docs/upload-an-attachment
got
The text was updated successfully, but these errors were encountered: