Primary competition visual

GeoAI Challenge for Cropland Mapping by ITU

Helping Iran (Islamic Republic of), Sudan
and 1 other country
  • Iran (Islamic Republic of)
  • Sudan
  • Afghanistan
  • Scroll to see more
$4 000 USD
Completed (over 2 years ago)
Classification
364 joined
74 active
Starti
Jun 30, 23
Closei
Oct 05, 23
Reveali
Oct 05, 23
User avatar
MICADEE
LAHASCOM
Issue on authetication token and sign in to Google Earth Engine
Notebooks Ā· 8 Jul 2023, 13:59 Ā· 6

Sorry guys, seems i am missing something😁 . After inputing my authetication token using the lines of code below.

# Get authetication token and sign in to Google Earth Engine

import ee

# Trigger the authentication flow.

ee.Authenticate()

# Initialize the library.

ee.Initialize()

This is what i got:

Successfully saved authorization token.
---------------------------------------------------------------------------
RefreshError                              Traceback (most recent call last)
<ipython-input-166-f20f5905f9ab> in <cell line: 7>()
      5 
      6 # Initialize the library.
----> 7 ee.Initialize()

15 frames

/usr/local/lib/python3.10/dist-packages/google/oauth2/_client.py in _handle_error_response(response_data, retryable_error)
     71         error_details = json.dumps(response_data)
     72 
---> 73     raise exceptions.RefreshError(
     74         error_details, response_data, retryable=retryable_error
     75     )
RefreshError: ('invalid_scope: Bad Request', {'error': 'invalid_scope', 'error_description': 'Bad Request'})

Note: I only used ordinary train and test datasets without any using bands to test run my first modelling strategy as my first trial. 
Discussion 6 answers
User avatar
ML_Wizzard
Nasarawa State University

The error message you encountered suggests that there is an issue with the authentication scope you provided when trying to authenticate and sign in to Google Earth Engine the invalid_scope error typically occurs when the requested scope is not valid or not supported by the API.

9 Jul 2023, 18:47
Upvotes 1
User avatar
MICADEE
LAHASCOM

@mubarak127 Thanks for your response. Though i can't really say the reason for this but i just tried the same approach of mine now, then it worked out again.

User avatar
ML_Wizzard
Nasarawa State University

@MICADEE

Dear MICADEE,

I hope this message finds you well. I came across your work in machine learining, and I'm truly impressed by your expertise and achievements. I have a project idea that I believe aligns with your interests and skills. I would greatly appreciate the opportunity to discuss it further and explore the possibility of collaborating together. I believe our combined efforts could lead to a successful outcome. If you're open to it, I would like to schedule a meeting or call to provide more details about the project and discuss how we can work together effectively. Alternatively, if it's more convenient for you, please let me know if I can have your email address so that I can share a project proposal with you. I value your time and expertise, and I assure you that I approach collaborations with professionalism and responsibility. I'm committed to creating a positive and productive working environment. Thank you for considering my request. I look forward to the possibility of collaborating with you.

Best regards,mubarak127

User avatar
MICADEE
LAHASCOM

sotundeadeyinka@gmail.com

User avatar
ML_Wizzard
Nasarawa State University

Thanks

check your email

I think coreball is most captivating