About 4 days ago (Nov 3, 2022), we started to see 422 errors when we hit POST /api/v2/uploads. The error message is {"error"=>"RecordInvalid", "description"=>"Record validation errors", "details"=>{"size"=>[{"description"=>"Size Size is not included in the list (1..1073741824)"}]}},
Based on the documentation at https://developer.zendesk.com/api-reference/ticketing/tickets/ticket-attachments/, size is not mandatory. Therefore, the API shouldn't return 422. Can you let me know how we can resolve this? We are using zendesk_api ruby gem 1.36.0. Unless we modify the gem, I suppose we are not able to set the size property in the API request.