Skip to content

Notebook does not recognize API Key #323

Open
@mrwawa1

Description

@mrwawa1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions