PROBLEM

The Add Items button is missing from the Content and Items tile when editing an API Key on ArcGIS Developers site

Last Published: June 2, 2021

Description

Items such as hosted feature layers, tile layers, web maps, GeoJSON files, or CSV files can be added to an application programming interface (API) key to generate a permanent access token for granting permission to access private content. The items can be added in the 'Content and items' tile when editing an API key.

Content and Items tile with the Add items button shown in the Edit API Key page.
 

However, the 'Add items' button is missing and items are unable to be added to the API key.

Content and Items tile without the Add items button in the Edit API Key page.

Cause

This is by design. Only Developer accounts have access to the 'Add items' button on the Content and Items tile in the Edit API Key page. This is because ArcGIS Online accounts do not need to use API keys. A Developer account is not associated with ArcGIS Online and the main target is non-GIS users. Organization account users can access the  developers.arcgis.com site, but the view of the site is different from Developer account users. Some of the features available with the Developer account are not available with the Organization account, and vice-versa, relating to the API keys.

Solution or Workaround

If a user has an ArcGIS Online Organization account, the API keys must not be used because the account is not made to utilize them. Using OAuth2 is also recommended to implement security for accessing the applications available in the account.

To use the API keys, a Developer account is required. Those with a Developer account can use API keys to consume ESRI Location services. Refer to ArcGIS Developers: Location services for more information. 

Article ID: 000025434

Software:
  • Apps
  • ArcGIS Runtime SDKs
  • ArcGIS API for JavaScript
  • ArcGIS REST API
  • ArcGIS SOAP API
  • Mobile

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options