Cannot create SpatialDataFrame, need to authenticate GIS

308
1
Jump to solution
10-18-2021 10:57 AM
MohammedAsaduzzaman
New Contributor

Hello,

I'm trying to create maps for our website in the python environment. Whenever I try to create the shape files (for both City and Zip), I get the exception "Cannot create the SpatialDataFrame, you must have an authenticated GIS."

I have included my username, password, api_key, and client variable for ArcGIS, but still get this exception. I've been using my code for quite sometime now, and did not have this issue. Today was the first time I got this exception.

Is there a reason for the exception? Did I forget to include something? Please let me know if you need anything from me.

 

Thank you,

Mohammed

0 Kudos
1 Solution

Accepted Solutions
MohammedAsaduzzaman
New Contributor

My manager figured out the issue. I needed to sign into ArcGIS Pro app on the desktop, and not just ArcGIS online. My code ran perfectly after signing into the ArcGIS app.

View solution in original post

0 Kudos
1 Reply
MohammedAsaduzzaman
New Contributor

My manager figured out the issue. I needed to sign into ArcGIS Pro app on the desktop, and not just ArcGIS online. My code ran perfectly after signing into the ArcGIS app.

0 Kudos