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

0

Comments

3 comments
  • 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 

  • Thanks for the reply, Paulina!

    That is exactly the cause of the problem. 

    Thank you very much!

    Jianmin

     

    0
  • Dear Jianmin,

    Great- thank you for the confirmation.

     

    Kind regards,

    Paulina 

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post