Skip to main content

Bug in the API for single select fields?

  • July 20, 2022
  • 5 replies
  • 34 views

Rupert_Hoffsch1
Forum|alt.badge.img+21

I’m creating records via API and everything works well EXCEPT for creating single select options.

I’m passing strings in an array and only pass options, which already exist. Still I get this error back:

Does anyone know why?

5 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • July 20, 2022

What is the API call you’re making?

You may also want to turn on typecast to see if that makes a difference, which would indicate a difference in what you’re sending vs. what already exists as options for the field.


ScottWorld
Forum|alt.badge.img+35
  • Genius
  • July 20, 2022

Oh wait, did you say that you’re sending an array to a single-select field? You can only send one value to a single-select field.


Rupert_Hoffsch1
Forum|alt.badge.img+21

OMG! The bug always sits in front of the computer… Guess 38 degrees C got to my head :winking_face: Thanks, @ScottWorld


ScottWorld
Forum|alt.badge.img+35
  • Genius
  • July 21, 2022

Hahaha, just a little PEBCAK error! :stuck_out_tongue_winking_eye:


Rupert_Hoffsch1
Forum|alt.badge.img+21

Hahaha, just a little PEBCAK error! :stuck_out_tongue_winking_eye:


:grinning_face_with_big_eyes: (just writing some text so Airtable let’s me post…)