Problem seting up bolt on python

In upgrading device status error on ubuntu server it is showing ‘Bolt is undeclared’
Also sharing the screenshot of the error showing.

Correction - BOlt --> Bolt

Bolt is the module that you imported. from boltiot package. See below.
from boltiot import Sms, Email, Bolt

You have to use the exact same letters, as it is case sensitive.

1 Like

Thank a lot.It worked .But now its telling invalid API key.

You have put wrong API key for sure. Make sure the letters are SAME. It is case sensitive.

should we include - in api key or not

Your Bolt credentials will have API key and Device ID. Make sure, both of them are correct.

@manoj871 Yes, you must use ‘-’ in api key.

Thank you abhishek.It worked,