Skip to main content
Answer

KeyError: 'id' when placing API order

  • October 3, 2024
  • 2 replies
  • 555 views

GabiZuccolotto24
Forum|alt.badge.img+1

Hello! I’m replicating the code found at this link https://github.com/planetlabs/notebooks/blob/master/jupyter-notebooks/Orders-API/ordering_and_delivery.ipynb with my own set of images and am receiving the error in the screenshot below when trying to place the order. For reference, I’m trying to pull all available analytic_8b_sr_udm2 products that overlap with my specified area of interest.I’m unsure if this is a problem with the API, the images I’m trying to order or the way I’ve written the code. My code is exactly the same as the one linked, except I performed a paginated quick search first and then copy and pasted the resulting item id list into the request code. That item id list has 786 image ids in it. Any insight someone can provide about what is causing this error and how to fix it would be so appreciated!

 

Best answer by idilgumus

To others who have the same or similar questions: it seems that the issue here with the Jupyter notebook is related either to authentication or the format of the request. Please reach out to support by submitting a request at the Help Center to get assistance troubleshooting.

2 replies

elyhienrich
Community Manager 🌎
Forum|alt.badge.img+17
  • Community Manager 🌎
  • October 3, 2024

Hi @GabiZuccolotto24,

We have opened a support ticket on your behalf, as we believe Support will be able to help you with your issue, using the email you have used here on Planet Community. 

Thanks, and please feel free to reach out if you have any addition questions! 


idilgumus
Community Manager 🌎
Forum|alt.badge.img+9
  • Community Manager 🌎
  • Answer
  • February 7, 2025

To others who have the same or similar questions: it seems that the issue here with the Jupyter notebook is related either to authentication or the format of the request. Please reach out to support by submitting a request at the Help Center to get assistance troubleshooting.