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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives