Closed kantmichel closed 7 years ago
ended up "fixing" it and identified the way to do this:
data = {"Typology": "Coffee", "Image" : [{"url": "https://order.blabla.co.uk/peo2/some/67/11/asset.123456.jpg"},{"url": "https://order.blabla.co.uk/peo2/something/68/39/asset.5648.jpg"}]}
at.update('test', "recoCNAIQjMCuRbDG", data)
need to send the image dictionary as list. Then multiple can be added by grouping them in their own dictionary.
Hi,
Thanks so much for this repository! Really nice :+1:
I'm trying to update images (attachments in AirTable), but there's an error when doing this. Here's the code:
as you see the image requires nested information about the image. The only requirement is the URL. Others are optional.
Here's the error i'm getting. Unfortunately the error after this tells nothing.
HTTPError 422 according to AirTable: Invalid Request The request data is invalid. This includes most of the base-specific validations. You will receive a detailed error message and code pointing to the exact issue.
Unfortunately there is no detailed error message pointing to the exact issue.
Hope you can help! What's going wrong with updating the images?