Hello, working on small PHP site with https://github.com/DavidZadrazil/airtable-api-php/
When I’m trying to update Checkbox or Number field via
$response = $request->updateRecord('recsH5WYbYpwWMlvb', ['Cancel' => '123']); $response->isSuccess(); // true / false
I get this error;
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error:
PATCH https://api.airtable.com/v0/appXXXX/Invoices/recSMXnTwTiRrRvGBresulted in a
422 Unprocessable Entityresponse: {"error":{"type":"INVALID_VALUE_FOR_COLUMN","message":"Field Cancel can not accept value 123"}}
I can successfully update Name fields. Any ideas why i get 422 error?
Thanks