This is intended for Bubble newbies, so may be too simple for a lot of the forum regulars but hopefully some of you find it useful (especially those not familiar with the API Connector)!
Itās great- but I canāt get it to work - nice job in being clear though, but I think IBM changed the login process? anyway any suggestions would be very helpfulā¦
Hey @lauren, IBM made indeed some changes. I was confronted with the same difficulties when I tried to follow the tutorial.
You can check the editor of this test app (the API key has been removed, so running the app itself wonāt show you much, only the editor will be helpful): test-ai | Bubble Editor
Here below is the detailed explanation I obtained from Watsonās very supportive customer support team (same day reply by email for a non-paying customer).
Watson services migrated to token-based Identity and Access Management (IAM) authentication. Visual Recognition instances created after May 22nd (2018) use this method, which in turn changes the way the api keys are identified in the api calls as shown in the example below:
curl -X POST -u "apikey:{your_api_key}" --form "images_file=@fruitbowl.jpg" \
"https://gateway.watsonplatform.net/visual-recognition/api/v3/classify?version=2018-03-19"
In addition, you can check the following documents for detailed information about these changes: IBM Cloud Docs IBM Cloud Docs
@vlad: I had a lot of fun with your tutorial, and built a derivative concept based on it (basically the same thing but allowing users to change the search term, and see the identified labels/classes by both IBMās Watson and Googleās Cloud Vision API). Thanks a lot!
Vlad - okay, count to 10ā¦ with your and Lucienās help I got the API workingā¦ but when Iām trying to add the conditionā¦ 'Result of step 1ā¦" - I donāt know how to do that ā¦ I donāt see āresult of prior stepā or anything like itā¦ sorry to be a pain, but love a hint
Hi @lauren! First of all thanks for flagging the issue and sorry for the delay. I have it on my list to update the blog to reflect Watsonās latest changes but just havenāt gotten to it yet, hope to do it soon.
As far as the āResult of step 1ā issue - do you mind pasting a screenshot of your workflows here? Happy to take a look. You can also add vlad@airdev.co as a collaborator instead and Iāll look directly within the app.
And @Lucien- thanks for the update from IBM, super helpful. Glad you enjoyed the tutorial and awesome that you were able to build a similar concept!
Finally I canāt seem to edit the original post but hereās the updated link directly to the blog post (we did indeed change it)
Thanks for the help Vlad - I got it working by staring at your example, realizing (new user mistake) that I had to do a bit of setting up data types that werenāt shown in your tutorial - things like making sure the API call to google worked and had the right classes identifiedā¦ thank you itās fun to see it work.