Hello, I make an API Call POST to Flux Kontext to generate an image, I get in return a taskId, with which I make an API Call GET to retrieve the address of the generated image. I want to save this url (https://tempfile.aiquickdraw.com/f/fluxkontext_hdummydatas67909.jpg) in a User database (text field imageUrl) to be able to later display it in the background of a group. But the imageUrl field always remains empty. I have the taskId because it is at the 1st level in data, but resultImageUrl is nested in data â response. Bubble recognizes it as a text field because it is proposed to me as a value in the workflow. Has anyone already solved this problem?
Can you share the API connector settings, response, API doc url and what you have set to save it actually (workflow actions)
Thank you for your quick response. Here are the two APIs and the workflow. I hope this is enough. It seems to me that the fact that the imageResult is nested in the response to the second Fetch image API is the cause of Bubble extracting the data incorrectly (the non-nested taskId is retrieved without problem). I first thought it was due to the response time, thatâs why I added a pause. But that didnât solve the problem. Thank you for looking at this.
Adding a pause will not work. Better to use Schedule API Workflow
Best is if you can have a webhook when job is completed from API
This topic was automatically closed after 70 days. New replies are no longer allowed.


