Help

Re: UNKNOWN_FIELD_NAME for field in table

3208 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Jason_Mintz
4 - Data Explorer
4 - Data Explorer

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 5

Try double quotes instead of single quotes.

Jason_Mintz
4 - Data Explorer
4 - Data Explorer

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

dara
4 - Data Explorer
4 - Data Explorer

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

Celeste_Bancos
7 - App Architect
7 - App Architect

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 😂