Here the docs say we can directly upload a file to a dataset, but I tried just giving the absolute file path and it didn’t work:
{'message': "Found invalid contents for media type: 'IMAGE'"}
Is this supported? If so, what might I be doing wrong?
Here the docs say we can directly upload a file to a dataset, but I tried just giving the absolute file path and it didn’t work:
{'message': "Found invalid contents for media type: 'IMAGE'"}
Is this supported? If so, what might I be doing wrong?
Hi @pmitrano,
Thanks for flagging this issue. We do support uploading local files. Currently, uploading local files doesn’t work with our standard import format for cloud-hosted files, and only supports a limited range of features (we will work on that soon).
I have updated the docs with a Python example of uploading local files. Let me know whether it works for you: Import image data
Ah yes that worked! Thanks!