internal error in the database

31 views
Skip to first unread message

Daniela Volintiru

unread,
Jan 25, 2018, 5:08:21 PM1/25/18
to Google Spectrum Database API discussion group
Hi,

Can anyone help me with this kind of error? The serial number ,FCC id and the key are valid but the response returns error . When I set a random serial number and also set FCCid as "TEST" , it lists available spectrum for the device.

>   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": "160PC13060007", "fccId": "QC8-RDL3000RMF", "fccTvbdDeviceType": "FIXED" },
>     "location": { "point": { "center": {"latitude": 28.00000, "longitude": -81.00000} } },
>     "antenna": { "height": 30.0, "heightType": "AGL" },
>     "owner": { "owner": { } },
>     "capabilities": { "frequencyRanges": { "startHz": 0, "stopHz": 80000000 } },
>     "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
>   },
>   "id": "121"
> }'
{
 "error": {
  "code": -32000,
  "message": "The request failed due to an internal error in the database",
  "data": [
   {
    "domain": "global",
    "reason": "internalError",
    "message": "The request failed due to an internal error in the database"
   }
  ]
 },
 "jsonrpc": "2.0",
 "id": "121"
}

Thanks!

Denton Gentry

unread,
Jan 25, 2018, 5:12:29 PM1/25/18
to Google Spectrum Database API discussion group
We've verified that the fccId does exist, I would expect this transaction to succeed.

We did resolve an issue during the afternoon of 1/24 which might have impacted this transaction. Was this run today, or was it perhaps run earlier and posted to the forum today?
Reply all
Reply to author
Forward
0 new messages