Select to view content in your preferred language

Error code 403 when trying to publish hosted feature layer

75
2
Friday
Labels (2)
Julia_vanRavenswaaij
Emerging Contributor

I'm getting error code 403 when trying to publish a hosted feature layer: "User does not have permissions to access 'hosted/hfl_name.mapserver'., Access to this resource is forbidden, regardless of authorization."

The service definition is publishing, but not the feature layer.  The account I'm using is one of the main publishing accounts for my organisation (Creator user type and Publisher role).  

ArcGIS Pro 3.2.1 to ArcGIS Portal

0 Kudos
2 Replies
DanielFox1
Esri Contributor

Hi @Julia_vanRavenswaaij 

Does this account have any credit allocation? If not can you give the account a credit limit and try again?

Do you get the same issue with an admin role?

Are you publishing into ArcGIS Online directly or from ArcGIS Pro?

0 Kudos
RichardDaniels
Honored Contributor

Are you publishing to ArcGIS Online or to an ArcGIS Server/ArcGIS Enterprise? For ArcGIS Server in production environments there is a configuration setting to 'not copy data'. In those environments the feature service is published but the data is coming from your ArcSDE data server. The intent is to prevent the 'copy' of data out of the organization onto AGOL or an ArcGIS Enteprises server (i.e., the FC is just connecting to your enterprise data set, not to a copy). 

0 Kudos