Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Intermittent HTTP 403 issues using DeleteFeaturesFromFeatureLayer #344

Description

@fallomj

ArcRestHelper

3/22/17 3.5.x

Issue

I have a script running on a scheduled task that deletes features from a hosted layer and then adds features from file geodatabase.

We have a couple different scripts that use the featureservicetools methods. These scripts are intermittently generating HTTP 403 errors when they attempt to update a feature layer. Access is not an issue because many times the scripts work without issues.

A little context, these scripts run as scheduled tasks every 5-10 minutes and use the same named user account (essentially a service account for these kinds of processes), but they are accessing different data.

Any ideas on what may be causing this?

'function': 'DeleteFeaturesFromFeatureLayer', 'line': 'line 591', 'synerror': 'HTTPError: HTTP Error 403: URLBlocked', 'filename': 'C:\Python27\ArcGIS10.2\lib\site-packages\arcresthelper\featureservicetools.py'

Repo Details

SynchronizeIncidentSvcPts_GISTask.py.txt
Incident Service Points Log 06-06-2017.xml.txt
See attached script and log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions