# Problem with generating isochrones from layer in QGis ORS-tools

**URL:** <https://ask.openrouteservice.org/t/problem-with-generating-isochrones-from-layer-in-qgis-ors-tools/4701>\
**Category:** isochrones\
**Created:** [March 24, 2023, 11:34am UTC](https://ask.openrouteservice.org/t/problem-with-generating-isochrones-from-layer-in-qgis-ors-tools/4701 "2023-03-24T11:34:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gertjan\_Slob](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/gertjan_slob/32/2196_2.png) [@Gertjan\_Slob](https://ask.openrouteservice.org/u/Gertjan_Slob)\
**Post date:** [March 24, 2023, 11:34am UTC](https://ask.openrouteservice.org/t/problem-with-generating-isochrones-from-layer-in-qgis-ors-tools/4701/1 "2023-03-24T11:34:23Z")

</div>

I have a new laptop and installed QGis 3.30.0 and the ORS-tools plugin. I want to generate Isochrones from a layer. I have a token and generating an isochrone from a single point works fine. However once I try to do this from a layer with single points I get the following error, any ideas how tot solve this?:

_Traceback (most recent call last):  
File “C:\Users/gesl/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\isochrones\_layer\_proc.py”, line 155, in processAlgorithm  
response = ors\_client.request(‘/v2/isochrones/’ + profile, {}, post\_json=params)  
File “C:\Users/gesl/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\common\client.py”, line 152, in request  
f"url: {self.url}\nParameters: {json.dumps(body, indent=2)}",  
File “C:\PROGRA ~~1\QGIS33~~ 1.0\apps\Python39\lib\json\_init_.py”, line 234, in dumps  
return cls(  
File “C:\PROGRA ~~1\QGIS33~~ 1.0\apps\Python39\lib\json\encoder.py”, line 201, in encode  
chunks = list(chunks)  
File “C:\PROGRA ~~1\QGIS33~~ 1.0\apps\Python39\lib\json\encoder.py”, line 431, in \_iterencode  
yield from \_iterencode\_dict(o, \_current\_indent\_level)  
File “C:\PROGRA ~~1\QGIS33~~ 1.0\apps\Python39\lib\json\encoder.py”, line 405, in \_iterencode\_dict  
yield from chunks  
File “C:\PROGRA ~~1\QGIS33~~ 1.0\apps\Python39\lib\json\encoder.py”, line 438, in \_iterencode  
o = \_default(o)  
File “C:\PROGRA ~~1\QGIS33~~ 1.0\apps\Python39\lib\json\encoder.py”, line 179, in default  
raise TypeError(f’Object of type {o. **class**. **name** } ’  
TypeError: Object of type QVariant is not JSON serializable

Execution failed after 0.03 seconden\_
