ArcGIS Pro

What does error 00374 mean and what should I do?

In ArcGIS Pro, analyzer errors identify potential issues when sharing a resource such as a layer or a map. If you’ve ever shared a web layer, you may have encountered error 00374: Unique numeric IDs are not assigned.

Analyzer error 00374: Unique numeric IDs are not assigned

Unique numeric IDs (also known as layer IDs) are identifiers assigned to each layer in a map. If you are sharing layers without IDs, error 00374 appears to encourage you to assign them manually.

How do I resolve error 00374?

There are two ways to resolve the error. The solution you choose depends on whether manually assigning layer IDs is important for managing your web layer. The video below summarizes the two ways to resolve error 00374.

Hover over error 00374 and click the Options button that appears. Alternatively, you can right-click the error message.

Analyzer Options button

There are two options for resolving the error:

Analyzer options context menu

We’ll discuss both in the sections below.

Open Map Properties To Allow Assignment

Choose this option to author maps with assigned layer IDs prior to publishing. This option is recommended if you intend to overwrite the web layer in the future. Maintaining static IDs ensures that service sublayer IDs do not change when the web layer is overwritten. (Changing IDs may cause disconnects in web applications that reference the service sublayer.)

Here’s how to resolve the error:

  1. Click Open Map Properties To Allow Assignment.
    The Map Properties dialog box appears.
  2. On the General tab, check Allow assignment of unique numeric IDs for sharing web layers, read the message that appears, and click OK.
Allow assignment of unique numeric IDs for sharing web layers option on the Map Properties dialog box

Checking this option resolves the error. Before sharing, however, it’s important to review and assign custom IDs to each layer in the map.

You can review layer IDs in the Share As Web Layer pane. The new web layers and sublayers with assigned IDs are displayed on the Content tab.

Layer IDs on the Content tab of the Share As Web Layer pane
  1. Review the ID for each sublayer. If you are overwriting a web layer, verify that the ID of each layer (or stand-alone table) matches the existing service sublayer ID.
  2. To change an ID, click the number next to the layer.
    The Layer Properties dialog box appears. (You can also open the layer properties by right-clicking the layer in the map and clicking Properties.)
  3. On the Layer Properties dialog box, on the General tab, type a custom integer ID in the Layer ID text box.
  4. Click OK.
Layer ID text box on the Layer Properties dialog box

4. Repeat the previous two steps for each layer or stand-alone table as necessary.

Auto-Assign IDs Sequentially

If you don’t need to manually assign IDs to the layers in your map, click Auto-Assign IDs Sequentially to skip analyzer 00374. When you share the web layer, the service sublayers are automatically assigned IDs based on the drawing order in the Contents pane, beginning with 0 for the first layer.

After resolving the error using either option, you are ready to share your web layer.

Analyzer error 00374 resolved in the Share As Web Layer pane

Next time error 00374 appears, manually assign IDs to layers in your map before sharing. If you’re overwriting a web layer, assign layer IDs that match existing sublayer service IDs. This ensures that web applications that reference your services remain operational even if the contents in your map change.

For further reading, see the following topics in the ArcGIS Pro help:

About the author

Jonah is a product engineer and writer on the ArcGIS Pro Sharing Team with a background in environmental science.

Connect:
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

Next Article

Using Arcade to Translate Pop-Ups for Use in the ArcGIS Instant Apps

Read this article