API Keys are rejected (Err: Invalid token)

There is an issue with OpenCellID since the morning April, 26th. It rejects all uploads with previously valid API keys (tokens) with message “Err: Invalid token”. Can you @Sagar please take a look on this?

Hey Adam,

Please mail me at [email protected] and

  • share your registered email and
  • the query format you’re sending us

Few hours later (and after around 10 hours of problems) it started to work fine again.

Awesome, If its not too much to ask, can you share the timestamps of these errors? I’ll have my technology team look into it.

Thanks!

Sure. I noticed the problem between 8:20 and 15:10 UTC.

Thanks a ton! I’ll have my team look into it.

Good day!

Hello,

I’ve been getting invalid token when trying to download the global file.

{“status”:“error”,“message”:“INVALID_TOKEN”}

1 Like

Same problem. Tokens are being rejected. Also, the downloads.php page says the latest file size is “0KB” (OCID-diff-cell-export-2020-11-20-T000000.csv.gz (0KB)) Looks like something broke on the server.

getting the same error :{“status”:“error”,“message”:“INVALID_TOKEN”}

  1. Not sure if my problem is related, but it seems simmilar.
  2. If I try to use my token from https://my.opencellid.org/dashboard#accesstoken, I get:
$ curl --location 'https://opencellid.org/cell/get' --header 'Content-Type: application/json' --data '{ "token": "pk.XXXX", "radio": "lte", "mcc": 404, "mnc": 90, "cells": [{ "lac": 6101, "cid": 231254816, "psc": 241 }], "address": 1 }' 
<?xml version="1.0"?> 
<rsp stat="fail"><err info="API Key not known: " code="2"/></rsp>

You’re not using a valid request format. Check the docs here: API - OpenCellID wiki
You seem to be using the Unwired Labs API format with OpenCelliD.