Skip to content
Discussion options

You must be logged in to vote

@Olmatro It appears that you are using row.thumbnail[0].url which is invalid field.

If you have the URL from Airtable in a column then you can write a code like this to upload the image to Firebase storage, where airtableURL is an URL from your Airtable import.

const file = await rowy.storage.upload.url(row.airtableURL)
return [file];

If you have an image column that you want to upload to Firestore then you use as following, as per the code you have but instead of url it will be downloadURL - because you need to pass the URL value to the upload function.

const file = await rowy.storage.upload.url(row.image[0].downloadURL)
return [file];

Let us know if that helps resolve your issue.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@Olmatro
Comment options

Comment options

You must be logged in to vote
3 replies
@BeeBombshell
Comment options

@Olmatro
Comment options

@BeeBombshell
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Olmatro
Comment options

Answer selected by BeeBombshell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info Needs further info from the issue to continue
3 participants