Project 10 mailgun, Expexting value: line1 column 1(char 0)


Someone please help!

Hi there the error you are receiving is because you have not given the values of API KEY and DEVICE ID
In case you have stored the values in another file you will be required to import the file at the start of the project for example
import "the file name"
then you need to write the other code
otherwise, you can directly write the values at the start ex.
mybolt = Bolt("your api key", "your device id")

Hope this helps

1 Like

@akshayphadke002
Hi !
Can you please share the whole screenshot ???

@akshayphadke002

Can you add a print statement to output the value stored by the variable response?

You can add the below statement immediately after you assign value to the response variable. Make sure you maintain the indentaion.

print(resoponse)

@yeshwant.naik
After adding print(response)

:

@francoisgonothitoure
Sure!

Hi @akshayphadke002,

Check this thread Project 10:- Error:- Expecting value: line 1 column 1 (char 0)

Do let me know in case you need further assistance.

It was long back. Why am I getting replies now?

Hi @akshayphadke002,

Someone has answered on your thread. I just linked the solved thread so that others can get help for the same issue.