Skip to main content
Solved

Error when trying to create new select option in SingleSelect field via API

  • December 22, 2022
  • 3 replies
  • 856 views

Forum|alt.badge.img+3

Hi,

I'm working with the API, and when trying to create or update a SingleSelect field with a new select option, which was not exist, I get the following error:

{"error":{"type":"INVALID_MULTIPLE_CHOICE_OPTIONS","message":"Insufficient permissions to create new select option \\"\\"v0.65.1\\"\\""}}%

I set my personal API key with all of the available permission, i tried editing the field's permissions and set it with:

* Allow this field to be set in records created through forms

* Allow this field to be modified by automations

but it didn't work.

I didn't find anything useful in the API docs. 
Can anyone help? 

Best answer by Andrey_Kovalev

Hi Andrey,

Thanks for replying!

How can i add "{typecast: true}" when Querying in curl via bash? Can you send an example? i didn't found any in the docs or in the forums.


Have you seen the discussion as follows?

https://community.airtable.com/t5/development-apis/where-to-add-quot-typecast-quot-true-when-column-type-is/td-p/104252

3 replies

Andrey_Kovalev
Forum|alt.badge.img+20
  • Inspiring
  • 95 replies
  • December 23, 2022

Forum|alt.badge.img+3
  • Author
  • New Participant
  • 1 reply
  • December 26, 2022

@BionicAlmog Hi, here is the thread discussing a similar issue. Maybe it's worth reading.

https://community.airtable.com/t5/development-apis/how-can-i-prevent-the-quot-invalid-multiple-choice-options-quot/td-p/27487


Hi Andrey,

Thanks for replying!

How can i add "{typecast: true}" when Querying in curl via bash? Can you send an example? i didn't found any in the docs or in the forums.


Andrey_Kovalev
Forum|alt.badge.img+20
  • Inspiring
  • 95 replies
  • Answer
  • December 26, 2022

Hi Andrey,

Thanks for replying!

How can i add "{typecast: true}" when Querying in curl via bash? Can you send an example? i didn't found any in the docs or in the forums.


Have you seen the discussion as follows?

https://community.airtable.com/t5/development-apis/where-to-add-quot-typecast-quot-true-when-column-type-is/td-p/104252