gee-community / ee-jupyter-contrib

Using Jupyter as an Earth Engine IDE - Community Contributions
MIT License
73 stars 42 forks source link

credential error -403 in connecting to GEE in juputer notebook #44

Open Ghadiri1979 opened 3 years ago

Ghadiri1979 commented 3 years ago

I used to write code in the google earth engine with javascript. With that account, I have installed an env in Jupyter to access gee , It was successful and it still works. I decided to install that environment on the pc, everything is going well (install anaconda, packages, and gee authentication and getting key and then successful), But when executing the attached image code, it gives 403, and credential error. I will be grateful if you help to solve this problem. Thank you. Best regards: Ali ghadiri example_jupyter.pdf error403.pdf

rajaditya-ai-developer commented 1 year ago

Confirm Earth Engine access: Make sure that your Earth Engine account has the necessary permissions to access the specific datasets or resources you are trying to access in your code. Some datasets may have restrictions or require additional permissions to access.

Check your network and firewall settings: Ensure that your PC has a stable internet connection and that there are no network or firewall restrictions preventing your Jupyter environment from accessing the Earth Engine servers. Temporarily disabling firewalls or trying a different network connection can help isolate the issue.

Update packages and libraries: Ensure that you have the latest versions of the necessary packages and libraries installed in your Jupyter environment. Outdated versions may cause compatibility issues or security vulnerabilities that could result in authentication errors.

Reach out to the Earth Engine support: If the issue persists after trying the above steps, consider reaching out to the Google Earth Engine support team. They can provide specific guidance and assistance with troubleshooting the credential error you are experiencing.