@bebetter said in How to Manage API Key Usage in Multi-Threaded Tasks with BAS:
Can we return the API key back to the resource after finishing a thread?
You don't need it. Just set the usage count of the resource when you create it.
Hi i am Manuel Acosta,
I am trying to save the data after finish with the bot, but it fails every time with this message : Thread ended with message "Database access configuration failed or incorrect", This only happends in run mode, in record mode its works well.

BAS Version 24.5.1
Chrome Version 96.0.4664.110
OS Windows 10 PRO version 10.0.18363 BUILD 18363
Thanks for your help, i dont know what i am doing wrong the db works for creating the resources but not at the end of the flow.
Yeah, and BAS closed unexpectedly. I experienced the same thing too. I believe it happened because of multithreading.