Getting "403 forbidden error" while accessing paws:init method

37 views
Skip to first unread message

kunal sankhe

unread,
Apr 19, 2014, 1:01:59 PM4/19/14
to google-spectr...@googlegroups.com
Hello,

I am research student from India and I want to try this API. I got "403 forbidden error while accessing init method".
I used browser key for accessing this api. Please let me know what went wrong.  

Below is the request and error response.

Request Body :

POST https://www.googleapis.com/spectrum/v1explorer/paws/init?key={YOUR_API_KEY}

Content-Type:  application/json
X-JavaScript-User-Agent:  Google APIs Explorer
{
"jsonrpc": "2.0",
"method": "spectrum.paws.getSpectrum",
"apiVersion": "v1explorer",
"params": {
"type": "INIT_REQ",
"version": "1.0",
"key": "AIzaSyCv8-dTdPjVFL0kmbxj9VovUfuWxfscuwY",
"deviceDesc": {
"serialNumber": "your_serial_number",
"fccId": "OPS13",
"fccTvbdDeviceType": "MODE_1"
},
"location": {
"point": {
"center": {
"latitude": 37,
"longitude": -101.3
}
}
}
},
"id": "any_string"
}



Error Response:

403 Forbidden
- Show headers -
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
],
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
}


Thanks and regards,
Kunal Sankhe

Michael Head

unread,
May 2, 2014, 1:38:52 PM5/2/14
to google-spectr...@googlegroups.com
See my response in the other thread.

-- mike
Reply all
Reply to author
Forward
0 new messages