This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
ArcREST addItem error in ArcGIS Online #53
Comments
What type of item is it? Thank you |
achapkowski
added a commit
that referenced
this issue
May 18, 2015
Please see the sample below and pull the latest. This publishes without error.
|
This was referenced May 18, 2015
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When accessing the added item in AGOL a general error message appears i.e
It is a CSV; the error that is returned
Error retrieving file from http://myorg.maps.arcgis.com/sharing/content/items/a935aa00f237477ba9912ca2bd32b79d/data?token=AYJwMLSoVIlx7LzbY_vcFNMb9yZ6wyutOARMXSKQd21g17xNE96bqzMBns97ySZlYr2nXVhAHBWxldT57NKS5HCL1i8xFyDYVLPBoVzZqer1VzcbeOVSBSdo8xzoCyzWRY8b5iNRKhow4oeD6Mlg5w..
The item adds to AGOL but does not allow users to publish or download.
Perhaps this has something to do with issue # 52.
import arcrest
if name == "main":
username = ""
password = ""
portalId = ""
url = ""
thumbnail_url = ""
kml_path = "C:\Users\GeoffreyWest\Desktop\aCSV.CSV"
securityHandler = arcrest.AGOLTokenSecurityHandler(username,
password)
# Create the administration connection
#
admin = arcrest.manageorg.Administration(url, securityHandler)
# Connect to the portal
#
portal = admin.portals(portalId)
# Access the content properties to add the item
#
content = admin.content
# Provide the item parameters
#
The text was updated successfully, but these errors were encountered: