SparkFun Forums 

Where electronics enthusiasts find answers.

Everything pertaining to the data.sparkfun.com service, the phant project which powers it, and user projects which talk to the service.
By jonathanemptage
#185887
I'm using a Esp8622 wifi shield on the arduino uno I have been going through the Examples in the AT library and they all work apart from the Phant Library demo the data stream just wont up date and It's saying forbidden missing private the output looks like this

0

Connected.
Posting to Phant!


+IPD,0,396:HTTP/1.1 403 Forbidden
Access-Control-Allow-Oriri, 13 Nov 2015 16:38:49 GMT
Connection: close
Transfer-Encoding: chunked
Set-Cookie: SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/

21
0 forbidden: missing private key

0


please help

Jon
By Miskatonic
#186777
My first guess is the private key hasn't been filled in in the example code. look for the line above setup that says:
const char privateKey[] = "P4eKwGGek5tJVz9Ar84n";
Replace everything within the quotation marks with your private key.
Hope this helps