Troubleshooting of Airtable API: Difference between revisions

No edit summary
Line 24: Line 24:


Solution: Check the data type of field
Solution: Check the data type of field
* Go to the airtable
* Go to the Airtable
* Select the field which met error e.g "欄位名稱" mentioned in the error message
* Select the field which met error e.g "欄位名稱" mentioned in the error message
* Menu: Edit field
* Menu: Edit field
* Choose the proper data type e.g. switch from "short line text" to "number"
* Choose the proper data type e.g. switch from "short line text" to "number"
== How to fix UNKNOWN_FIELD_NAME ==
Error message:
<pre>
[type] => UNKNOWN_FIELD_NAME
[message] => Unknown field name: "XXX"
</pre>
Solution: Check the field name
# Navigate to your Airtable table.
# Verify that the specified field name ("XXX" in this case) exists in the table.
# If it doesn't, ensure you're using the correct field name in your query or action.


== Further reading ==
== Further reading ==