Hi, I’m still working on an offer directory app that makes an API call to an Airtable base. We want to display the images that are added as attachments in the Airtable base. They have URLs, that are treated as strings in FlutterFlow’s API response rather than image paths. I heard that you can create a custom function to convert the string into an image path, but I haven’t been able to find a clear example on how to write the code. Code copilot also isn’t working for me, as it keeps giving me the “Prompt is required” message even though I am entering a prompt and have my arguments and return value filled out.
The first screenshot shows what I have written. I tried testing it, but it doesn’t appear to work. I haven’t written code before, so if anyone has suggestions or advice, I appreciate it.
Also, for reference I have my argument set as nullable while my return value is not nullable.