Adding an Attachment to smartsheet via Postman / webMethods
Hello, I am working on attaching a file to Smartsheet. The file is sitting in my local drive (C:\tem folder). The CSV file is tiny. I am getting 400 bad request errors. Do I need to pass the memory stream and file size as multi-part?? Can anyone share the Postman collection, please?
Answers
-
Hi @RAMA T
The 400 error is for this message:
400 Attachments of type FILE cannot be created using JSON.
Here's the information from the Smartsheet API Documentation:
I've found this other community post in Stack Overflow that may have a solution for you: https://stackoverflow.com/questions/77657490/smartsheet-attachment-through-api-simple-csv
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives