How can I programmatically check whether a solution's app key is still active?

I've taken over a solution (python) where an app key is provided, but it throws an error on the set_app_key stage. I suspect because the key is no longer valid/belongs to an account that no longer exists. I could download the Data API and generate another key, but wanted to know beforehand if there was any way of checking whether that is the cause of the error?

Best Answer

  • Hi @nataliem Programatically there is not a way to check if an app key is valid other than running it (and getting an error on set_app_key) - as you seem to be experiencing. Just open up APPKEY app and either generate a new app key or use an existing app key to check whether that is the issue. I hope this can help.

Answers