Beware of "Input column index X is different from the first input column index X"
If you try to create columns in one bulk request, do not give each column its own unique index.
All the columns need one common index (example: 1), which is the starting point (from left to right) at which the entire column set will be created.
If you try to give each column its own numeric index (1, 2, 3) in the request body you will get the error:
"Input column index X is different from the first input column index X"
Google searches turned up nothing on this error.
Comments
-
Hi @steamroller
Thank you for pointing this out! I'll let the API Documentation team know that this isn't clarified in the Add Columns section of the docs.
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
I second the 'Thank You!' for this pointer. I was trying to set the indexes with a variable ticking upward in the loop that created the columns and making it harder than it had to be. :-)
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