ex_airtable icon indicating copy to clipboard operation
ex_airtable copied to clipboard

It skips encoding suffix to avoid incorrect record url

Open pandamako opened this issue 1 year ago • 0 comments

I deleted one record and received the error "INVALID_PERMISSIONS_OR_MODEL_NOT_FOUND". Upon checking the logs, I noticed an incorrect URL: https://api.airtable.com/v0/appZkO0RzqhvyjaST/tblcTyI01gezyy3vp%2FrecVyXBs5F9m4vAGV. There is a %2F between the table name and the record ID, which is an encoded /. This is fetched from the parameter url_suffix. Since it's a library-managed option, it can be used raw.

pandamako avatar Apr 10 '24 13:04 pandamako