Skip to main content

UNKNOWN_FIELD_NAME for field in table


Forum|alt.badge.img

Without any changes I recently started getting a 422 UNKNOWN_FIELD_NAME error for a field in my table. The field is available in the API docs ( Investor // Checkbox // boolean // This field is “true” when checked and otherwise empty.)

My body looks like:
data = {
‘fields’:{
‘Investor’: True
}
}

If I make a GET request for a particular record, the “fields” object looks like:
{‘Investor’: True}, passing back that same object inside data results in the same 422 error

5 replies

ScottWorld
Forum|alt.badge.img+33
  • Brainy
  • 8761 replies
  • April 8, 2021

Try double quotes instead of single quotes.


Forum|alt.badge.img
  • Author
  • New Participant
  • 1 reply
  • April 8, 2021

Yea that’s what I had originally unfortunately until I found another answer saying try single quotes. Same for both.


Forum|alt.badge.img
  • New Participant
  • 1 reply
  • January 9, 2023

Hello, I just figured this out, the document is outdated I guess.

I tried what you did and got the exact error, unknown field name /"fields"/.

Just remove the key "fields", it will work fine


Forum|alt.badge.img+16

FYI in case anyone else is dealing with this error, I had this issue and it turned out I was using the wrong table in my API call 😅


Forum|alt.badge.img+2
  • New Participant
  • 1 reply
  • September 12, 2024
Celeste_Bancos wrote:

FYI in case anyone else is dealing with this error, I had this issue and it turned out I was using the wrong table in my API call 😅


Same issue--this comment helped me catch the error 😂


Reply