API key error when using ORS Tools in QGIS 3.6

Hi, I am using QGIS 3.6 and encounter the below error when trying to use ORS Tools to make drive-time isochrones for a few points, after also adding the Open Street Map layer to the map and using my (valid) token and API key.

401 ({
“error”: “Authorization field/api_key missing in request. If you do not have a token, please sign up for one at…” (openrouteservice url)

I am using the exact instructions from this tutorial: https://www.youtube.com/watch?v=Rsxl_0IUSFM&t=552s

Which means that I

  1. added the Open Streets Map layer from the browser tab.
  2. added a .csv points layer (you can see the data points here)
  3. went to the Web menu, ORS Tools, opened settings and pasted my valid openrouteservice API key, clicked okay.
  4. under the Batch Jobs tab of the ORS Tools menu, I selected “Isochrones from Layer”, selected open route service provider, selected the input point layer, unique ID for the input layer ID field, set travel mode to driving-car, time, isochrones (15, 30, 45, 60).

With this result:

Input parameters:
{ ‘INPUT_FIELD’ : ‘Clave de localidad INEGI’, ‘INPUT_METRIC’ : 0, ‘INPUT_POINT_LAYER’ : ‘file:///F:/39PUNTOS/ChiapasNuevasSucursales.csv?type=csv&detectTypes=yes&xField=Longitud&yField=Latitud&crs=EPSG:4326&spatialIndex=no&subsetIndex=no&watchFile=no’, ‘INPUT_PROFILE’ : 0, ‘INPUT_PROVIDER’ : 0, ‘INPUT_RANGES’ : ‘15, 30, 45, 60’, ‘OUTPUT’ : ‘TEMPORARY_OUTPUT’ }

Feature ID 70120001 caused a ApiError:
401 ({
“error”: "Authorization field/api_key missing in request. If you do not have a token, please sign up for one at … (url)

The same error is repeated for each unique Feature ID.

After running, I double-check that the API key is still correctly saved in the ORS Tools settings, and it is.

Any ideas what is going wrong?

ORS tools settings:


Can you send me your API key on nils@openrouteservice.org? I’ll check what’s going on, shouldn’t be what you describe, if your key is valid.

Thank you so much! I sent the API key to your email, please let me know if you notice anything wrong!

Has anyone else had this error? I have not received a response so far ;.(

Hi @Lori_Diane_Smith,

Could you send me your key again, please?
Nils currently has a lot of other stuff on his to do list :slight_smile:
Just send it to enquiry@openrouteservice.org.

Do you remember when you did the last working request with this key?

Best regards

hi !

how can I receive the API key for ORS tools QGIS 3.6 . I need to use isochrones ! ~ ~
thank you for your work ^^

you have to sign up at our website openrouteservice.org/dev/#/signup , log-in and request a key to get your free api key