Open dketterer opened 2 years ago
Hey there,
I'm doing orders with MultiPolygon AOI and ran into the following problem:
the JSON object must be str, bytes or bytearray, not dict Bad Request ...
I think the issue is here and here.
The assumption is that aoi_resp is a string. But if you look and multipoly() it can only return a dict or list or other Python data structure. I removed the json.loads(....) functions and it works.
aoi_resp
multipoly()
json.loads(....)
Hey there,
I'm doing orders with MultiPolygon AOI and ran into the following problem:
I think the issue is here and here.
The assumption is that
aoi_resp
is a string. But if you look andmultipoly()
it can only return a dict or list or other Python data structure. I removed thejson.loads(....)
functions and it works.