error 301

63 views
Skip to first unread message

runc...@gmail.com

unread,
Jun 11, 2014, 4:38:15 AM6/11/14
to google-spectr...@googlegroups.com
I use the example code and I get error 301. what should I do?

thanks

Roi

The error:

{
"error": {
"code": -301,
"message": "This device is not authorized to use this database",
"data": [
{
"domain": "global",
"reason": "unauthorized",
"message": "This device is not authorized to use this database"
}
]
},
"jsonrpc": "2.0",
"id": "any_string"
}

My code:

curl -XPOST https://www.googleapis.com/rpc -H "Content-Type: application/json" --data '{
"jsonrpc": "2.0",
"method": "spectrum.paws.getSpectrum",
"apiVersion": "v1explorer",
"params": {
"type": "AVAIL_SPECTRUM_REQ",
"version": "1.0",
"deviceDesc": { "serialNumber": "1234", "fccId": "OPS13", "fccTvbdDeviceType": "MODE_1" },
"location": { "point": { "center": {"latitude": 42.0986, "longitude": -75.9183} } },
"antenna": { "height": 1.0, "heightType": "AGL" },
"owner": { "owner": { } },
"capabilities": { "frequencyRanges": [{ "startHz": 750000000, "stopHz": 850000000 }, { "startHz": 400000000, "stopHz": 700000000 }] },
"key": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
},
"id": "any_string"
}'

Michael Head

unread,
Jun 12, 2014, 10:19:49 AM6/12/14
to google-spectr...@googlegroups.com
Greetings Roi,

The FCC recently disable the OPSXX ids. We are considering options for how we can allow explorer users to continue accessing the database.

We'll follow up when we have an answer.

-- mike

Przemysław Pawełczak

unread,
Jun 12, 2014, 10:36:22 AM6/12/14
to google-spectr...@googlegroups.com
Thanks for the reply Mike. 

Extra questions:

- Since when did Google Database start to reply with the code -301? [I just need to know which of our measurements should we discard]

- May I know how much time will it take to bring the Google WSDB back for experiments? (less than a week?);

- How can I know when the White Space database is back again?

Once more - thank you for your help!

Best regards,
Przemek

Michael Head

unread,
Jun 16, 2014, 6:28:08 PM6/16/14
to google-spectr...@googlegroups.com
Greetings Przemek,

Answers:

- From what we can tell, EAS (http://transition.fcc.gov/oet/ea/) stopped including the OPSXX ids on June 6. I believe we would have begun giving errors for those IDs in the early morning pacific time.

- We're working on a fix, but don't have an ETA yet.

- We'll follow up on the threads here when we have an update.

Sorry for the inconvenience, and I hope it hasn't caused any problems for your research. This took us a bit by surprise.

-- mike

Michael Head

unread,
Jun 20, 2014, 1:20:33 PM6/20/14
to google-spectr...@googlegroups.com
Greetings Przemek (and others),

I'm happy to announce that we've deployed a fix for explorers.

We now allow the special FCC ID "TEST" to be used in explorer mode requests (see the updated documentation here: https://developers.google.com/spectrum/paws/gettingstarted#fccid).

-- mike

Przemysław Pawełczak

unread,
Jun 20, 2014, 3:03:28 PM6/20/14
to google-spectr...@googlegroups.com
Mike - it's working! Thank you so much. We are back to our experiments!

Best regards from Delft,
Przemek
Reply all
Reply to author
Forward
0 new messages