can't search correctly
Hello,
I am using data API to do searching and downloading following https://github.com/planetlabs/notebooks/blob/master/jupyter-notebooks/data-api-tutorials/search_and_download_quickstart.ipynb
When I followed the example, I succeeded before. But recently, I got failed.
print(json.dumps(search_result.json(), indent=1))
This line gives me an empty results as below.
{
"general": [
{
"message": "{\"interval\": \"Rogue field\"}"
}
],
"field": {}
}
Do you know what the problem could be?
Thanks
Jianmin
-
Official comment
Dear Jianmin,
Thank you for your post and we do apologise for the inconvenience.
Does your json request has the following line: “interval”: “day” ? In this case I would recommend to remove the interval field form your search request and it should work. Please let me know if it worked fine for you.
Our sincere apology because we did not communicate this update.Kind regards,
Paulina
Comment actions
Please sign in to leave a comment.
Comments
3 comments