Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook does not recognize API Key #323

Open
mrwawa1 opened this issue Mar 11, 2024 · 1 comment
Open

Notebook does not recognize API Key #323

mrwawa1 opened this issue Mar 11, 2024 · 1 comment

Comments

@mrwawa1
Copy link

mrwawa1 commented Mar 11, 2024

When I work through the notebook, I get an error at

async with Session() as sess:
    cl = sess.client('data')
    request = await cl.create_search(name='temp_search', search_filter=combined_filter, item_types=item_type)

The error is
File C:\Path\To\File.planet.json is not the correct format.

I can't figure out how to format this .json and providing the API Key doesn't appear to work. Not sure what flags to use to get the notebook to work.

In auth.py, the function from_file appears to be what is trying to be read. However, it says to create the .planet.json using auth.write(), but I can't find this function.

@matthew-ballard
Copy link
Contributor

hey @mrwawa1 - which notebook were you working with when you received this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants