Содержание
- ovr / gist:7bba0c7a079b7bbc320c5b01c39140b5
- jestan / gist:4411538
- wizardjedi / gist:64053ad1193cfbc5c4c3d1cb0428dd4c
- jestan / gist:4411538
ovr / gist:7bba0c7a079b7bbc320c5b01c39140b5
MAP Protocol Error Codes
34 System failure
36 Unexpected Data Value
21 Facility Not Supported
28 Incompatible Terminal
51 Resource Limitation
Identification and Numbering Errors
01 Unknown Subscriber
144 Number Changed
05 Unidentified Subscriber
07 Unknown Equipment
08 Roaming Not Allowed
09 Illegal Subscriber
12 Illegal Equipment
10 Bearer Service Not Provisioned
11 Teleservice Not Provisioned
25 No Handover Number Available
26 Subsequent Handover Failure
42 Target Cell Outside GroupCall Area
Operation and Maintenance Errors
40 tracingBufferFull
Call Handling Errors
39 No Roaming Number Available
27 Absent Subscriber
45 Busy Subscriber
46 No Subscriber Reply
14 Forwarding Violation
47 Forwarding Failed
48 OR Not Allowed
Any Time Interrogation Errors
49 ATI Not Allowed
Any Time Information Handling Errors
60 ATSI Not Allowed
61 ATM Not Allowed
62 Information Not Available
Supplementary Service Errors
16 Illegal SS Operation
17 SS Error Status
18 SS Not Available
19 SS Subscription Violation
20 SS Incompatibility
71 Unknown Alphabet
37 PW Registration Failure
38 Negative PW Check
43 Number of PW Attempts Violation
29 ShortTerm Denial
30 LongTerm Denial
Short Message Service Errors
31 Subscriber Busy For MT SMS
32 SM Delivery Failure
33 Message Waiting List Full
06 Absent Subscriber for SM
Group Call errors
50 No GroupCall Number Available
22 Ongoing GroupCall
Location Service Errors
52 Unauthorized Requesting Network
53 Unauthorized LCS Client
54 Position Method Failure
58 Unknown or Unreachable LCS Client
59 MM Event Not Supported
Источник
jestan / gist:4411538
MAP Protocol Error Codes
34 System failure
36 Unexpected Data Value
21 Facility Not Supported
28 Incompatible Terminal
51 Resource Limitation
Identification and Numbering Errors
01 Unknown Subscriber
144 Number Changed
05 Unidentified Subscriber
07 Unknown Equipment
08 Roaming Not Allowed
09 Illegal Subscriber
12 Illegal Equipment
10 Bearer Service Not Provisioned
11 Teleservice Not Provisioned
25 No Handover Number Available
26 Subsequent Handover Failure
42 Target Cell Outside GroupCall Area
Operation and Maintenance Errors
40 tracingBufferFull
Call Handling Errors
39 No Roaming Number Available
27 Absent Subscriber
45 Busy Subscriber
46 No Subscriber Reply
14 Forwarding Violation
47 Forwarding Failed
48 OR Not Allowed
Any Time Interrogation Errors
49 ATI Not Allowed
Any Time Information Handling Errors
60 ATSI Not Allowed
61 ATM Not Allowed
62 Information Not Available
Supplementary Service Errors
16 Illegal SS Operation
17 SS Error Status
18 SS Not Available
19 SS Subscription Violation
20 SS Incompatibility
71 Unknown Alphabet
37 PW Registration Failure
38 Negative PW Check
43 Number of PW Attempts Violation
29 ShortTerm Denial
30 LongTerm Denial
Short Message Service Errors
31 Subscriber Busy For MT SMS
32 SM Delivery Failure
33 Message Waiting List Full
06 Absent Subscriber for SM
Group Call errors
50 No GroupCall Number Available
22 Ongoing GroupCall
Location Service Errors
52 Unauthorized Requesting Network
53 Unauthorized LCS Client
54 Position Method Failure
58 Unknown or Unreachable LCS Client
59 MM Event Not Supported
Источник
wizardjedi / gist:64053ad1193cfbc5c4c3d1cb0428dd4c
MAP Protocol Error Codes
34 System failure
36 Unexpected Data Value
21 Facility Not Supported
28 Incompatible Terminal
51 Resource Limitation
Identification and Numbering Errors
01 Unknown Subscriber
144 Number Changed
05 Unidentified Subscriber
07 Unknown Equipment
08 Roaming Not Allowed
09 Illegal Subscriber
12 Illegal Equipment
10 Bearer Service Not Provisioned
11 Teleservice Not Provisioned
25 No Handover Number Available
26 Subsequent Handover Failure
42 Target Cell Outside GroupCall Area
Operation and Maintenance Errors
40 tracingBufferFull
Call Handling Errors
39 No Roaming Number Available
27 Absent Subscriber
45 Busy Subscriber
46 No Subscriber Reply
14 Forwarding Violation
47 Forwarding Failed
48 OR Not Allowed
Any Time Interrogation Errors
49 ATI Not Allowed
Any Time Information Handling Errors
60 ATSI Not Allowed
61 ATM Not Allowed
62 Information Not Available
Supplementary Service Errors
16 Illegal SS Operation
17 SS Error Status
18 SS Not Available
19 SS Subscription Violation
20 SS Incompatibility
71 Unknown Alphabet
37 PW Registration Failure
38 Negative PW Check
43 Number of PW Attempts Violation
29 ShortTerm Denial
30 LongTerm Denial
Short Message Service Errors
31 Subscriber Busy For MT SMS
32 SM Delivery Failure
33 Message Waiting List Full
06 Absent Subscriber for SM
Group Call errors
50 No GroupCall Number Available
22 Ongoing GroupCall
Location Service Errors
52 Unauthorized Requesting Network
53 Unauthorized LCS Client
54 Position Method Failure
58 Unknown or Unreachable LCS Client
59 MM Event Not Supported
Источник
jestan / gist:4411538
MAP Protocol Error Codes
34 System failure
36 Unexpected Data Value
21 Facility Not Supported
28 Incompatible Terminal
51 Resource Limitation
Identification and Numbering Errors
01 Unknown Subscriber
144 Number Changed
05 Unidentified Subscriber
07 Unknown Equipment
08 Roaming Not Allowed
09 Illegal Subscriber
12 Illegal Equipment
10 Bearer Service Not Provisioned
11 Teleservice Not Provisioned
25 No Handover Number Available
26 Subsequent Handover Failure
42 Target Cell Outside GroupCall Area
Operation and Maintenance Errors
40 tracingBufferFull
Call Handling Errors
39 No Roaming Number Available
27 Absent Subscriber
45 Busy Subscriber
46 No Subscriber Reply
14 Forwarding Violation
47 Forwarding Failed
48 OR Not Allowed
Any Time Interrogation Errors
49 ATI Not Allowed
Any Time Information Handling Errors
60 ATSI Not Allowed
61 ATM Not Allowed
62 Information Not Available
Supplementary Service Errors
16 Illegal SS Operation
17 SS Error Status
18 SS Not Available
19 SS Subscription Violation
20 SS Incompatibility
71 Unknown Alphabet
37 PW Registration Failure
38 Negative PW Check
43 Number of PW Attempts Violation
29 ShortTerm Denial
30 LongTerm Denial
Short Message Service Errors
31 Subscriber Busy For MT SMS
32 SM Delivery Failure
33 Message Waiting List Full
06 Absent Subscriber for SM
Group Call errors
50 No GroupCall Number Available
22 Ongoing GroupCall
Location Service Errors
52 Unauthorized Requesting Network
53 Unauthorized LCS Client
54 Position Method Failure
58 Unknown or Unreachable LCS Client
59 MM Event Not Supported
Источник
MAP Protocol Error Codes
Generic errors
34 System failure
35 Data Missing
36 Unexpected Data Value
21 Facility Not Supported
28 Incompatible Terminal
51 Resource Limitation
Identification and Numbering Errors
01 Unknown Subscriber
144 Number Changed
03 Unknown MSC
05 Unidentified Subscriber
07 Unknown Equipment
Subscription Errors
08 Roaming Not Allowed
09 Illegal Subscriber
12 Illegal Equipment
10 Bearer Service Not Provisioned
11 Teleservice Not Provisioned
Handover Errors
25 No Handover Number Available
26 Subsequent Handover Failure
42 Target Cell Outside GroupCall Area
Operation and Maintenance Errors
40 tracingBufferFull
Call Handling Errors
39 No Roaming Number Available
27 Absent Subscriber
45 Busy Subscriber
46 No Subscriber Reply
13 Call Barred
14 Forwarding Violation
47 Forwarding Failed
15 CUG Reject
48 OR Not Allowed
Any Time Interrogation Errors
49 ATI Not Allowed
Any Time Information Handling Errors
60 ATSI Not Allowed
61 ATM Not Allowed
62 Information Not Available
Supplementary Service Errors
16 Illegal SS Operation
17 SS Error Status
18 SS Not Available
19 SS Subscription Violation
20 SS Incompatibility
71 Unknown Alphabet
72 USSD Busy
37 PW Registration Failure
38 Negative PW Check
43 Number of PW Attempts Violation
29 ShortTerm Denial
30 LongTerm Denial
Short Message Service Errors
31 Subscriber Busy For MT SMS
32 SM Delivery Failure
33 Message Waiting List Full
06 Absent Subscriber for SM
Group Call errors
50 No GroupCall Number Available
22 Ongoing GroupCall
Location Service Errors
52 Unauthorized Requesting Network
53 Unauthorized LCS Client
54 Position Method Failure
58 Unknown or Unreachable LCS Client
59 MM Event Not Supported
supplServiceCode
00 All supplementary services
10 All line identification services
11 Calling number identification presentation
12 Calling number identification restriction
13 Connected number identification presentation
14 Connected number identification restriction
20 All call forwarding
21 Call forwarding unconditional
28 All conditional Call Forwarding
29 Call forwarding on mobile subscriber busy
2A Call forwarding on no reply
2B Call forwarding on subscriber not reachable
30 All call offering services
31 Call transfer
40 All call completion services
41 Call waiting
42 Call hold
43 Completion of calls to busy subscribers
50 All multi party services
51 Multi party service
60 All community of interest services
61 Closed user groups
70 All charging supplement services
71 Advice of charge (charging)
72 Advice of charge (information)
80 All additional info transfer services
81 User to user signalling
90 All call barring
91 All Barring of outgoing Call Services
92 Barring of all outgoing calls
93 Barring of all outgoing international calls
94 Barring of all OG international except HPMN
99 All Barring of incoming Call Services
9A Barring of all incoming calls
9B Barring of all IC calls when outside HPMN
FF USSD Message
Error Code | Context | Severity Level | Validation Description |
30 |
SS |
Severe |
Mandatory item Supplementary Service Code missing within group. |
31 |
SS |
Severe |
Mandatory item Action Code missing within group. |
32 |
SS |
Warning |
Item Supplementary Service Parameters present when Supplementary Service is not for call forward registration. |
33 |
SS |
Warning |
Item Supplementary Service Parameters not present when Supplementary Service is for call forward registration. |
34 |
MOC |
Warning |
Item Supplementary Service Parameters present when Supplementary Service is not for ECT invocation. |
35 |
MOC |
Warning |
Item Supplementary Service Parameters not present when Supplementary Service is for ECT invocation. |
36 |
SS |
Severe |
Item Charging Timestamp missing within group. |
37 |
MOC,MTC |
Warning |
Mandatory item Supplementary Service Code missing within group. |
38 |
MOC,MTC |
Warning |
Mandatory item Action Code missing within group. |
100 |
MOC,MTC |
Warning |
Non transferable Supplementary Service Code and Action Code combination present within group. |
Example scenario
Problem definition. Inbound roamers from a partner network X, roaming in a business district, are unable to receive incoming calls. However, they are able to make outgoing calls and send/receive SMS.
Figure 10-16 Update location.
Figure 10-17 Update location response.
TABLE 10-8 MAP Operation and Return Error Component
Operation |
Opcode decimal (hex) |
MAP return errors |
Update location
|
2 (02) |
System failure Data missing Unexpected data value Unknown subscriber Roaming not allowed |
Cancel location |
3 (03) |
Data missing Unexpected data value |
Purge MS |
67 (43) |
Data missing Unexpected data value Unknown subscriber |
Update GPRS location |
23 (17) |
System failure Unexpected data value Unknown subscriber Roaming not allowed |
Provide subscriber info |
70 (46) |
Data missing Unexpected data value |
Send identification |
55 (37) |
Data missing Unidentified subscriber |
Send authentication info |
56 (38) |
Data missing Unexpected data value System failure Unknown subscriber |
Insert subscriber data |
7 (07) |
Data missing Unexpected data value Unidentified subscriber |
Restore data |
57 (39) |
Data missing Unexpected data value Unknown subscriber System failure |
Send routing info for GPRS |
24 (18) |
Absent subscriber Call barred Data missing Unexpected data value Unknown subscriber System failure |
Provide roaming number |
4 (04) |
Absent subscriber Facility not supported/not allowed Data missing Unexpected data value No roaming number available System failure |
Register SS |
10 (0a) |
Absent subscriber Call barred Data missing Unexpected data value Bearer services not provisioned Teleservices not provisioned |
TABLE 10-8 MAP Operation and Return Error Component
Operation |
Opcode decimal (hex) |
MAP return errors |
Illegal SS operation SS error status SS incompatibility |
||
Erase SS |
11 (0b) |
Call barred Data missing Unexpected data value Bearer services not provisioned Teleservices not provisioned Illegal SS operation System failure SS error status |
Deactivate SS |
13 (0d) |
System failure Call barred Data missing Unexpected data value Bearer services not provisioned Teleservices not provisioned Illegal SS operation SS error status SS subscription violation Negative password check Number of password attempts violation |
Interrogate SS |
14 (0e) |
System failure Call barred Data missing Unexpected data value Bearer services not provisioned Teleservices not provisioned Illegal SS operation SS not available |
Process unstructured SS request |
59 (3b) |
System failure Call barred Data missing Unexpected data value Unknown alphabet USSD busy |
Unstructured SS request |
60 (3c) |
System failure Data missing Absent subscriber Unexpected data value Unknown alphabet USSD busy Illegal subscriber Illegal equipment |
Unstructured SS notify |
61 (3d) |
System failure Call barred Absent subscriber Unexpected data value |
TABLE 10-8 MAP Operation and Return Error Component
Operation |
Opcode decimal (hex) |
MAP return errors |
Unknown alphabet |
||
USSD busy |
||
Illegal subscriber |
||
Illegal equipment |
||
Send routing info for SM |
45 (2d) |
System failure Call barred Data missing Unexpected data value Teleservices not provisioned Facility not supported Unknown subscriber Absent subscriber SM |
MO forward SM |
46 (2e) |
System failure Unexpected data value Facility not supported SM delivery failure |
MT forward SM |
44 (2c) |
System failure Unidentified subscriber Data missing Unexpected data value Facility not supported Unknown subscriber Absent subscriber SM Illegal subscriber Subscriber busy for MT-SMS SM delivery failure |
Report SM delivery status |
47 (2f) |
Data missing Unexpected data value Unknown subscriber Message waiting list full |
Analysis. By analyzing problem statement it is clear that either the provide roaming number procedure is not successful or incoming calls are not routed correctly.
Diagnostic. The first step is to isolate the fault between the roaming procedure and the ISUP call routing. A protocol session may help in this case. The recommended steps are as follows.
1. Select signaling links carrying traffic to partner network X.
2. Set up an appropriate filter to reduce the amount of captured traffic. This is required for efficiency purposes and to focus on the problem in hand.
■ SCCPMSUs only.
■ SCCP calling party address partner network X. For example, if the partner network is Vodafone, then it could be set to +4412-, where «-» is a wild character.
TABLE 10-9 MAP Error Codes
MAP errors |
Error code decimal (hex) |
Brief description |
Unknown subscriber |
1 (01) |
No subscription exists. |
Unknown MSC |
3 (03) |
|
Unknown location area |
4 (04) |
|
Unidentified subscriber |
5 (05) |
The database (HLR/VLR) does not contain any entry for this subscriber. It is not possible to determine whether the subscription exists. |
Absent subscriber SM |
6 (06) |
MT-SMS transfer cannot be completed because network cannot contact the MS. |
Unknown equipment |
7 (07) |
|
Roaming not allowed |
8 (08) |
The user is not allowed to roam in an area because of subscription. |
Illegal subscriber |
9 (09) |
The subscriber is not allowed to access services, as authentication failed. |
Bearer service not provisioned |
10 (a) |
|
Teleservices not provisioned |
11 (b) |
|
Illegal equipment |
12 (c) |
IMEI check procedure shows that MS is not white-listed. |
Call barred |
13 (d) |
|
Forwarding violation |
14 (e) |
|
CUG reject |
15 (f |
|
Illegal SS operation |
16 (10) |
|
SS error status |
17 (11) |
|
SS not available |
18 (12) |
|
SS subscription violation |
19 (13) |
|
SS incompatibility |
20 (14) |
|
Facility not supported |
21 (15) |
The PLMN/terminal does not support the requested facility. |
Invalid target base station |
23 (17) |
|
No radio resources available |
24 (18) |
|
No handover number available |
25 (19) |
|
Subsequent handover failure |
26 (1a) |
|
Absent subscriber |
27 (1b) |
|
Incompatible terminal |
28 (1c) |
|
Short-term denial |
29 (1d) |
|
Long-term denial |
30 (1e) |
|
Subscriber busy for MT-SMS |
31 (1f) |
MT-SMS transfer cannot be completed because another MT-SMS transfer is going on. |
SM delivery failure |
32 (20) |
|
Message waiting list full |
33 (21) |
|
System failure |
34 (22) |
The requested task cannot be completed because of a problem in another entity. The type of resource or entity may be given in the resource indicator parameter. |
Data missing |
35 (23) |
An optional parameter required by the context is missing. |
TABLE 10-9 MAP Error Codes
MAP errors |
Error code decimal (hex) |
Brief description |
Unexpected Data Value |
36 (24) |
The data type is valid as per specifications but its value or presence is unexpected in the current context. |
PW registration failure |
37 (25) |
|
Negative PW check |
38 (26) |
|
No roaming number available |
39 (27) |
A roaming number cannot be allocated because all available numbers are in use. |
Tracing buffer full |
40 (28) 41 (29) |
|
Target cell outside group area |
42 (2a) |
|
Number of PW attempt violations |
43 (2b) |
|
Number changed |
44 (2c) |
The subscription does not exist for that number anymore. |
Busy subscriber |
45 (2d) |
|
No subscriber reply |
46 (2e) |
|
Forwarding failed |
47 (2f) |
|
OR not allowed |
48 (30) |
|
ATI not allowed |
49 (31) |
Any time interrogation. |
No group call number available |
50 (32) |
|
Resource limitation |
51 (33) |
|
Unauthorized requesting network |
52 (34) |
|
Unauthorized LCS client |
53 (35) |
|
Position method failure |
54 (36) |
|
Unknown or unreachable |
58 (3a) |
|
LCS client |
||
MM event not supported |
59 (3b) |
|
ATSI not allowed |
60 (3c) |
Any time information handling. |
ATM not allowed |
61 (3d) |
|
Information not available |
62 (3e) |
|
Unknown alphabet |
71 (47) |
|
User busy |
72 (48) |
The wild character allows capturing of all MSUs with country code 44 and network code 12; the rest of the digits are insignificant. Note that protocol analyzers from different vendors support different wild characters.
■ SCCP called party address MSC serving business district.
3. Capture the traffic for a substantial time, say 15 minutes or more.
4. Stop the protocol analysis session and analyze the return errors.
Generate statistics on error distribution if PA supports this feature.
5. In this example (see Figures 10-18 and 10-19), most of the PRN transactions are returned with an error. The error type shows no roaming number available. On further analyzing the traffic by looking at transactions with errors, it is evident that the MSC is running out of roaming numbers.
Problem resolution. The next step is to resolve the problem. Further analysis is required to establish if this problem occurs all the time or occasionally. If it occurs occasionally, what is the pattern, which day of the week, which hour of the day, and so on. Once the facts are established, an appropriate action is taken. For example if the provide roaming number procedure is failing consistently with the return error no roaming number available, it is likely that the MSRN range assigned to the MSC/VLR is not sufficient. The problem can be resolved by adding number blocks to the existing MSRN range.
Figure 10-18 Provide roaming number protocol decodes.
Figure 10-19 Provide roaming number response protocol decodes.
10000
GetDocumentInfo has started.
Provides a set of map service properties that can be used to describe the general content of the service.
10001
GetDocumentInfo has completed.
Use this code to determine how long it takes this method to process.
10002
GetMapCount has started.
Returns the number of maps (data frames) in a map service.
10003
GetMapCount has completed.
Use this code to determine how long it takes this method to process.
10004
GetMapName has started.
Returns the name of the map (data frame) as indicated by the index value provided.
10005
GetMapName has completed.
Use this code to determine how long it takes this method to process.
10006
GetDefaultMapName has started.
Name of the active map (data frame) in a map service.
10007
GetDefaultMapName has completed.
Use this code to determine how long it takes this method to process.
10008
GetServerInfo has started.
Returns information about the present state of a map (data frame).
10009
GetServerInfo has completed.
Use this code to determine how long it takes this method to process.
10010
Begin ExportMapImage.
Generates a dynamic map image from a data frame (map) in a map service.
10011
End ExportMapImage.
Use this message to determine how long it takes the server to dynamically draw a map image. Using the ArcGIS REST API, this message can be mined over a period of time and used to derive service performance statistics.
10012
ExportScaleBar has started.
Generates a scale bar image for a data frame (map) in a map service.
10013
ExportScaleBar has completed.
Use this code to determine how long it takes this method to process.
10014
Find has started.
Searches the attributes of one or more layers in a data frame, in a map service for a given search string.
10015
Find has completed.
Use this code to determine how long it takes this method to process.
10016
Identify has started.
Returns map features and their attribute values based on a spatial search.
10017
Identify has completed.
Use this code to determine how long it takes this method to process.
10018
QueryFeatureCount has started.
Returns the number of the features that meet the query filter selection criteria for the specified layer ID.
10019
QueryFeatureCount has completed.
Use this code to determine how long it takes this method to process.
10020
QueryFeatureIDs has started.
Returns a set of feature IDs that meet the query filter selection criteria for the specified layer ID.
10021
QueryFeatureIDs has completed.
Use this code to determine how long it takes this method to process.
10022
QueryFeatureData has started.
Returns a record set of features (geometry and attributes) that meet the query filter selection criteria for the specified layer ID.
10023
QueryFeatureData has completed.
Use this code to determine how long it takes this method to process.
10024
QueryFeatureCount2 has started.
Returns the count of the features that meet the query filter selection criteria for the specified layer description.
10025
QueryFeatureCount2 has completed.
Use this code to determine how long it takes this method to process.
10026
QueryFeatureIDs2 has started.
Returns the IDs of the features that meet the query filter selection criteria for the specified layer description.
10027
QueryFeatureIDs2 has completed.
Use this code to determine how long it takes this method to process.
10028
QueryFeatureData2 has started.
Returns a record set of features that meet the query filter selection criteria for the specified layer description.
10029
QueryFeatureData2 has completed.
Use this code to determine how long it takes this method to process.
10030
QueryHyperlinks has started.
Returns feature geometry and associated hyperlink URL for visible layers within a defined map extent.
10031
QueryHyperlinks has completed.
Use this code to determine how long it takes this method to process.
10032
ComputeScale has started.
Calculates the scale of the specified map (data frame) at the given map extent for an image with the given size.
10033
ComputeScale has completed.
Use this code to determine how long it takes this method to process.
10034
ComputeDistance has started.
Calculate the distance between two points in a map (data frame).
10035
ComputeDistance has completed.
Use this code to determine how long it takes this method to process.
10036
ToMapPoints has started.
Converts points from screen coordinates to map coordinates.
10037
ToMapPoints has completed.
Use this code to determine how long it takes this method to process.
10038
FromMapPoints has started.
Converts map coordinates to screen coordinates.
10039
FromMapPoints has completed.
Use this code to determine how long it takes this method to process.
10040
GetLegendInfo has started.
Returns legend information, such as layer name, group heading, classification labels, and symbol swatches, for layers in a map.
10041
GetLegendInfo has completed.
Use this code to determine how long it takes this method to process.
10042
GetSQLSyntaxInfo has started.
Returns SQL syntax information for the specified layer.
10043
GetSQLSyntaxInfo has completed.
Use this code to determine how long it takes this method to process.
10044
GetSupportedImageReturnTypes has started.
Returns the supported formats for retrieving images generated by a map service.
10045
GetSupportedImageReturnTypes has completed.
Use this code to determine how long it takes this method to process.
10046
IsFixedScaleMap has started.
Determines whether a map (data frame) has a cache. The cache may be a single fused map or a layer cache.
10047
IsFixedScaleMap has completed.
Use this code to determine how long it takes this method to process.
10048
HasSingleFusedMapCache has started.
Determines whether a map (data frame) has fused cache. Each map in a map service can only have one fused cache.
10049
HasSingleFusedMapCache has completed.
Use this code to determine how long it takes this method to process.
10050
GetTileCacheInfo has started.
Get cache configuration properties for a given map.
10051
GetTileCacheInfo has completed.
Use this code to determine how long it takes this method to process.
10052
GetTileImageInfo has started.
Get information about the image format of the cache tiles.
10053
GetTileImageInfo has completed.
Use this code to determine how long it takes this method to process.
10054
GetMapTile has started.
Returns the image tile from a fused map cache for a specific location.
10055
GetMapTile has completed.
Use this code to determine how long it takes this method to process.
10056
HasLayerCache has started.
Determines whether a given layer in a map (data frame) has a layer cache.
10057
HasLayerCache has completed.
Use this code to determine how long it takes this method to process.
10058
GetLayerTile has started.
Returns the image tile from a layer cache for a specific location.
10059
GetLayerTile has completed.
Use this code to determine how long it takes this method to process.
10060
GetVirtualCacheDirectory has started.
Gets the virtual directory containing the cache tiles for a given layer within a map (data frame).
10061
GetVirtualCacheDirectory has completed.
Use this code to determine how long it takes this method to process.
10062
GetCacheName has started.
Gets the cache name for a given layer within a map (data frame).
10063
GetCacheName has completed.
Use this code to determine how long it takes this method to process.
10064
GetCacheDescriptionInfo has started.
Gets the cache description information for a given map. This includes cache control info, tile cache info, tile image info, and cache type info.
10065
GetCacheDescriptionInfo has completed.
Use this code to determine how long it takes this method to process.
10066
GetCacheControlInfo has started.
Gets the cache control information for a given map. This is primarily used to determine whether client caching is allowed.
10067
GetCacheControlInfo has completed.
Use this code to determine how long it takes this method to process.
10068
GetServiceConfigurationInfo has started.
Returns a set of name-value pairs that contain information on map service configuration restrictions.
10069
GetServiceConfigurationInfo has completed.
Use this code to determine how long it takes this method to process.
10070
ExportLayout has started.
Generates an image of the layout, based on the given page description object, and writes the image to a specified file on disk.
10071
ExportLayout has completed.
Use this code to determine how long it takes this method to process.
10072
ExportLegend has started.
Exports a legend to an image file. This is not available through an internet connection to a map service.
10073
ExportLegend has completed.
Use this code to determine how long it takes this method to process.
10074
ExportNorthArrow has started.
Exports a north arrow to an image file. This is not available through an internet connection to a map service.
10075
ExportNorthArrow has completed.
Use this code to determine how long it takes this method to process.
10076
FromPagePoints has started.
Converts a page coordinate to a screen location. This is not available through an internet connection to a map service.
10077
FromPagePoints has completed.
Use this code to determine how long it takes this method to process.
10078
ToPagePoints has started.
Converts a screen location to a page coordinate. This is not available through an internet connection to a map service.
10079
ToPagePoints has completed.
Use this code to determine how long it takes this method to process.
10080
ApplyMapDescription has started.
Applies the current state of the map description to the map server object. This is not available through an internet connection to a map service.
10081
ApplyMapDescription has completed.
Use this code to determine how long it takes this method to process.
10082
RefreshServerObjects has started.
Updates the server info based on the current state of the underlying fine-grained objects. This is not available through an internet connection to a map service.
10083
RefreshServerObjects has completed.
Use this code to determine how long it takes this method to process.
10084
Find for layer <layer name> has started.
Searches the attributes for a specific layer in a data frame, in a map service for a given search string.
10085
Find for layer <layer name> has completed.
Use this code to determine how long it takes this method to process.
10086
Identify for layer <layer name> has started.
Returns map features and their attribute values based on a spatial search for a specific layer.
10087
Identify for layer <layer name> has completed.
Use this code to determine how long it takes this method to process.
10088
QueryHyperlinks for layer <layer name> has started.
Returns feature geometry and an associated hyperlink URL for a specific layer within a defined map extent.
10089
QueryHyperlinks for layer <layer name> has completed.
Use this code to determine how long it takes this method to process.
10090
GetLegendInfo for layer <layer name> has started.
Returns legend information, such as layer name, group heading, classification labels, and symbol swatches, for a specific layer in a map.
10091
GetLegendInfo for layer <layer name> has completed.
Use this code to determine how long it takes this method to process.
10092
MapReaderOpen has started.
Opens an MXD or PMF file stored at the specified path.
10093
MapReaderOpen has completed.
Use this code to determine how long it takes this method to process.
10094
Preparation for method: <method name> has started.
Use this code to determine how long it takes this method to process.
10095
Preparation for method: <method name> has completed.
Use this code to determine how long it takes this method to process.
10096
QueryOperation_Start
This message is used for QueryFeatureData and QueryFeatureData2.
10097
QueryOperation_End
Use this code to determine how long it takes this method to process.
10098
ImageGeneration_Started
This creates the image file from the map service.
10099
ImageGeneration_End
Use this code to determine how long it takes this method to process.
10138
Extent:<XMin>,<YMin>,<XMax>,<YMax>;Size:<size 1>,<size 2>;Scale:<scale value>
In an ExportMapImage request, this code returns the extent (in map service units), size (in pixels), and scale (representative fraction) of the requested map image.
103023
Symbol Drawing
The map symbol is drawn as part of the method Map.Draw.
103024
Data Access
Symbolizing
Execute Query
The data representing the symbol is accessed, symbolization is initialized, and a query is run to obtain the feature symbology.
10800
MapServerFailed
A number of errors may occur during the MapServer:Connect method. Details of the specific error should be written within the text of the message.
10801
The layer <layer name> in Map: <map name> is invalid.
This would occur when there is a layer with a broken link in the map being served. The map should be checked for layers having broken links to their data. These should be repaired and the map service refreshed after the repair.
10802
InvalidLicense
10803
Unsupported request name
10804
The requested capability is not supported.
These are the capabilities set by the server administrator.
10805
Invalid or Invisible field in SubField of the QueryFilter
This message results when the QueryFilter in a QueryFeatureData or QueryFeatureData2 contains an invalid field. An invalid field can be either a field that is marked as not visible in the original map document being served or by specifying a field in the query that does not exist in the map service.
10806
Service is Disconnected From Data
This warning would occur when attempting to perform one of the following methods on a map service layer that is not connected to its data source: Find, Identify, QueryFeatureCount, QueryFeatureCount2, QueryFeatureIds, QueryFeatureIds2, QueryFeatureData, QueryFeatureData2, QueryHyperlinks, GetLegendInfo, and GetSQLSyntaxinfo.
10807
The document contains secure (password-protected) layers.
Maps containing secure layers cannot be served. To successfully serve the map, layers requiring a password must be removed from the map.
10808
File <file name> is invalid. File <file name> does not exist. Access to file <file name> is denied.
To successfully serve a map document, the map document must be valid and accessible to the ArcGIS Server account. Something may have corrupted the file, and the map document may need to be re-created. The permissions to the map document and the directory it resides in should also be checked.
10809
PMF File <file name> is only readable by the ArcReader application.
PMFs (Published Map File) can be configured such that only ArcReader can open the document. PMFs configured in this way cannot be served. To serve such a map, a new PMF must be authored such that applications other than ArcReader can open the PMF.
10810
This PMF cannot be served because the following functionality in it has been disabled: <name of functionality>
PMFs (Published Map File) can be configured such that the PMF restricts specified functionality. This functionality can include export, find, identify, change views, access hyperlinks, change layer visibility, measure, query, query value, and view the TOC. Whenever functionality has been disabled when publishing a PMF, the PMF cannot be served. To serve such a map, a new PMF must be authored such that no functionality is disabled.
10811
PMF File <file name> is password protected and cannot be used for a server.
PMFs (Published Map File) that are password protected cannot be served. To serve the map, a new PMF must be authored without password protection.
10812
PMF File <file name> has timed out.
PMFs (Published Map File) can be authored with a timeout option. Once the date of the timeout has been exceeded, the PMF cannot be opened, and a map service based on such a PMF can no longer be served.
10813
Unable to read the specified PMF document.
To successfully serve a PMF (Published Map File), the PMF must be valid and accessible to the ArcGIS Server account. The PMF may need to be re-created. The permissions to the PMF file and the directory it resides in should also be checked.
10814
Cannot open PMF file <file name>. Probable cause: The PMF file is inaccessible to Server.
To successfully serve a PMF (Published Map File), the PMF must be valid and accessible to the ArcGIS Server account. The PMF may need to be re-created. The permissions to the PMF file and the directory it resides in should also be checked.
10815
PMF File <file name> contains a Globe and cannot be opened by the MapServer.
PMFs (Published Map File) can contain globes. Such PMFs cannot be used to author a map service. To create a map service, the globe must be removed from the map and the PMF republished.
10816
PMF Document <file name> cannot be opened.
To successfully serve a PMF (Published Map File), the PMF must be valid and accessible to the ArcGIS Server account. The PMF may need to be re-created. The permissions to the PMF file and the directory it resides in should also be checked.
10817
PMFInvalidFileType
To successfully serve a PMF (Published Map File), the PMF must be valid and accessible to the ArcGIS Server account. The PMF may need to be re-created. The permissions to the PMF file and the directory it resides in should also be checked.
10818
PMFUnknownError
10819
MissingParameter
A request made to the map service is missing a required parameter.
10820
OutputDirectoryNotFound
The Output directory is where the server creates temporary files for the map service. This directory is specified by the server administrator when publishing a map service and is part of the map service configuration. This directory must exist and be accessible to the ArcGIS Server account. Check the existence and the accessibility of this directory.
10821
OutputDirectoryAccessDenied
The Output directory is where the server creates temporary files for the map service. This directory is specified by the server administrator when publishing a map service and is part of the map service configuration. This directory must exist and be accessible to the ArcGIS Server account. Check the existence and the accessibility of this directory.
10822
PropertyFilePathUndefined
This error occurs when MapServer cannot find the property for FilePath in the property set.
10823
IsCacheMissing
IsCached is a map service configuration indicating whether the map service has a cache. Check the configuration file to make sure this setting is present and is set appropriately.
10824
CacheOnDemandMissing
CacheOnDemandMissing is a map service configuration indicating whether the map service provides on-demand caching. Check the configuration file to make sure this setting is present and is set appropriately.
10825
IgnoreCacheMissing
IgnoreCacheMissing is a map service configuration indicating whether the map service is to ignore an existing cache. Check the configuration file to make sure this setting is present and is set appropriately.
10826
ClientCachingAllowedMissing
ClientCachingAllowedMissing is a map service configuration. Check the configuration file to make sure this setting is present and is set appropriately.
10827
MapServer::OnStart() failed: can’t create temp directory name.
MapServer creates a directory for each map service underneath the arcgisoutput directory. These directories are used for WMS files if the WMS capability is enabled for the service. This error may occur if the ArcGIS Server account cannot create the directory. Make sure that the ArcGIS Server account has proper permission to the arcgisoutput directory.
10828
MapServer::OnStop() failed: can’t create temp directory name.
MapServer creates a directory for each map service underneath the arcgisoutput directory. These directories are used for WMS files if the WMS capability is enabled for the service. This error may occur if the ArcGIS Server account cannot create the directory. Make sure that the ArcGIS Server account has proper permission to the arcgisoutput directory.
10829
Invalid service configuration. A service disconnected from data cannot ignore cache.
A map service disconnected from its data needs to use a cache. In cases in which the map service is disconnected from its data, the property IgnoreCache must be false.
10830
Invalid service configuration. A service cannot be in Cache On Demand mode and disconnected from the data.
A map service using Cache On Demand cannot be disconnected from its data.
10831
Invalid service configuration. A service cannot be in Cache On Demand mode and ignore cache.
A map service using Cache On Demand needs to use a cache. When a map service is using Cache On Demand, the property IgnoreCache must be false.
10832
MapServer construction failed. Unable to obtain pointer to IServerEnvironment.
10833
Does not have Server Object administration privileges.
10834
Unable to connect to the cache
10835
The configuration could not be started because the WMS capability requires an assigned output directory. Please assign an output directory to this service.
10836
MapNotFound
Many requests require a map name as a parameter. This error occurs when the value of the map name in a MapServer request does not match a valid available map service name.
10837
General Geodatabase error
There are a number of things that can cause an error within the geodatabase. This Map Server error wraps any geodatabase error in a single Map Server error code.
10838
No Layer found with ID: <ID number>
LayerID supplied was incorrect.
10849
An invalid where clause or definition expression has been requested: «<where clause or definition expression>»
This message is logged if database-specific functions and syntax are used in a query. If this message is continually logged, it may indicate a potential security threat or SQL injection attack.
To learn more, see About standardized queries.
На этой странице описаны сообщения об ошибках, возвращаемые Maps JavaScript API. Этот API записывает сообщения об ошибках и предупреждения в Консоль JavaScript. Некоторые ошибки могут приводить к показу затемненной карты с водяными знаками.
Ошибки, связанные с оплатой и ключом API
Как устранить
Иногда карты могут отображаться затемненными, а панорамы Просмотра улиц – в негативе, с водяными знаками с текстом «for development purposes only» (только для целей разработки). Чаще всего такая проблема связана с ключом API или оплатой. Сервисами платформы Google Карт можно пользоваться, только если в вашем аккаунте активированы платежные функции, а в запросах к API указан действительный ключ. Подробнее читайте в разделе Проверка ошибок в браузере.
Ниже приведена последовательность шагов, которая поможет вам выявить и решить проблему.
Используете ли вы ключ API?
Не знаю. Как проверить, использую ли я ключ API?
Ключ API передается как параметр key
в URL, который используется для загрузки Maps JavaScript API. Существует несколько способов проверить, используете ли вы ключ API:
- Воспользуйтесь расширением Chrome Google Maps Platform API Checker. С его помощью вы сможете определить, правильно ли реализованы лицензионные Maps API на вашем сайте.
- Если вы используете библиотеку или плагин для загрузки Maps JavaScript API проверьте настройки этой библиотеки и найдите вариант с использованием ключа API.
- Проверьте, нет ли ошибок в вашем браузере.
Если вы увидите следующие сообщения, значит вы неправильно используете ключ API: - Предупреждение Google Maps JavaScript API: NoApiKeys
- Ошибка Google Maps JavaScript API: MissingKeyMapError
Для веб-разработчиков:
-
Если у вас есть доступ к коду приложения, найдите тег
<script>
, который используется для загрузки Maps JavaScript API.
При загрузке Maps JavaScript API заменитеYOUR_API_KEY
в указанном ниже коде ключом API.<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"> </script>
-
Проверьте в браузере сетевой трафик от вашего сайта.
В Chrome это можно сделать с помощью вкладки Network (Сеть) в инструментах разработчика.
Вы увидите сетевые запросы от вашего сайта. Запросы, сделанные с использованием Maps JavaScript API, будут указаны в путиmaps/api/js
.
Здесь вы можете убедиться, что в запросах используется параметрkey
.
Рекомендуем отфильтровать сетевой трафик на вкладке Network поmaps/api/js
.
Нет, я не использую ключ API.
Чтобы получить ключ API, нажмите кнопку ниже. Если не запустится пошаговая настройка, выполните инструкции из руководства по началу работы с платформой Google Карт.
Начать работу
Да, я использую ключ API.
Отлично! Проверьте, привязан ли к вашему проекту платежный аккаунт.
Привязан ли к вашему проекту платежный аккаунт?
Не знаю. Как проверить, привязан ли к моему проекту платежный аккаунт?
Откройте страницу оплаты в Google Cloud Console и выберите проект, в котором был создан ключ API.
Чтобы подтвердить, что этот ключ связан с проектом, сделайте следующее:
- Перейдите в раздел Credentials (Учетные данные), выбрав на левой боковой панели Google Maps Platform > Credentials (Платформа Google Карт > Учетные данные).
- Проверьте, есть ли в списке ключ API, который вы используете в настоящее время на своем сайте.
Если его здесь нет, перейдите в другой проект и проверьте учетные данные там. - Если вы не можете найти проект для этого ключа, возможно, вы потеряли доступ к этому проекту.
Попросите коллег о помощи. Если не получается найти исходный проект, можно сделать следующее:- Создайте новый проект, нажав кнопку Создать проект в списке проектов или на странице «Менеджер ресурсов».
- Создайте новый ключ API. Это можно сделать на странице Учетные данные.
После этого нажмите Создать учетные данные и выберите Ключ API.
После того как вы найдете свой проект в Cloud Console, проверьте, привязан ли к нему платежный аккаунт, в разделе Оплата в боковом меню слева.
Нет, к моему проекту не привязан платежный аккаунт.
Откройте страницу включения оплаты в Cloud Console и добавьте к проекту платежный аккаунт. Дополнительные сведения можно найти в руководстве по началу работы с платформой Google Карт.
Да, к моему проекту привязан платежный аккаунт.
Отлично! Убедитесь, что вы указали действующий способ оплаты.
Возможно, указанный способ оплаты больше не действует (например, истек срок действия кредитной карты)?
Вы можете добавить, удалить или изменить способ оплаты в Cloud Console.
Не превышен ли установленный вами дневной лимит на использование API?
Если вы установили для любого из ваших API дневной лимит, предотвращающий неожиданный перерасход, вы можете решить проблему, увеличив этот лимит.
Проверить дневные лимиты можно на панели API и сервисы в Cloud Console. Сделайте следующее:
- Если появится запрос, выберите проект.
- Выберите API из списка и откройте вкладку Квоты.
Есть ли у вашего ключа API ограничение по IP-адресам?
Ключи API с ограничением по IP-адресам можно использовать только с веб-сервисами, которые предназначены для реализации на стороне сервера (например, Geocoding API и другие API веб-сервисов).
Большинство этих веб-сервисов имеют аналоги в Maps JavaScript API (например, сервис геокодирования).
Для использования Maps JavaScript API в службах на стороне клиента нужно создать отдельный ключ API, который будет защищен ограничением по ссылающемуся домену HTTP. Подробнее…
Коды ошибок Maps JavaScript API (для разработчиков и владельцев сайтов)
В следующей таблице приведен список кодов ошибок, которые возвращает Maps JavaScript API, с описанием их причины и способом устранения.
Как посмотреть в браузере сообщения об ошибках…
Ошибки загрузки карты
В следующей таблице приведены коды ошибок Maps JavaScript API и пояснения к ним.
Код ошибки | Сообщение | Описание |
---|---|---|
|
Maps JavaScript API должен загружаться непосредственно с серверов Google. |
Элемент script, загружающий Maps JavaScript API, некорректно добавлен на страницу. Для корректной работы API должен загружаться непосредственно с сайта https://maps.googleapis.com. Как загружать Maps JavaScript API |
|
This website appears to violate the Google Maps API Terms of Service. The Google Maps API has been disabled for this website. |
Ваше приложение было заблокировано из-за несоответствия Условиям использования платформы Google Карт после отправки нескольких уведомлений по эл. почте. Чтобы обжаловать блокировку и обратиться с просьбой проверить вашу реализацию приложения, заполните эту форму. Ответ будет предоставлен по электронной почте в течение нескольких рабочих дней. Если у вас есть лицензия Premium платформы Google Карт, то, чтобы исправить ошибку, достаточно указать данные этой лицензии. Подробнее… |
|
This URL is not authorized to use the Google Maps Client ID provided. |
Идентификатор клиента с лицензией Premium или Maps APIs for Work, включенный в script, недействителен, просрочен или адрес для загрузки Maps JavaScript API не добавлен в список авторизованных URL-адресов. Как добавить URL в список авторизованных сайтов |
Коды ошибок Maps JavaScript API
Пояснения к ошибкам в Консоли JavaScript браузера Chrome, веб-консоли Firefox и других аналогичных инструментах браузера ищите в таблице ниже.
Maps JavaScript API возвращает как ошибки, так и предупреждения.
Ошибка указывает на возникновение серьезной проблемы при загрузке Maps JavaScript API. Например, ошибка – это когда API не может быть корректно загружен на страницу и не работает на ней.
Предупреждение – это дополнительная информация о загрузке Maps JavaScript API. Она описывает возможные причины ошибки или проблемы с кодом, который загружает Maps JavaScript API.
Если вы получаете только предупреждения, но не сообщения об ошибках, API на странице будет работать. Тем не менее мы рекомендуем устранять и потенциальные проблемы.
Код ошибки для разработчика | Тип | Описание |
---|---|---|
|
Ошибка |
Maps JavaScript API не активирован в вашем проекте. Чтобы активировать Maps JavaScript API для своего проекта, нажмите кнопку ниже. |
|
Ошибка |
Ключ API не авторизован для использования этой службы или API. Проверьте допустимые API для вашего ключа в Google Cloud Console, чтобы убедиться, что все API и сервисы, которые вам нужны, внесены в список. Проверьте свои ключи API в Cloud Console и ознакомьтесь со статьей Рекомендации по обеспечению безопасности доступа к API. |
|
Ошибка |
Возможно, ваш проект API удален из Cloud Console. Для этого нажмите кнопку ниже. |
|
Ошибка |
Вы не включили функции оплаты в своем проекте. Сделать это для проекта в Google Cloud, связанного с ID клиента, можно здесь. |
|
Ошибка |
Вы не включили функции оплаты в своем проекте. Подробнее… |
|
Ошибка |
Срок действия ключа API, включенного в элемент script, который загружает API, истек или не распознается системой. Создав новый ключ API, вы можете получить эту ошибку, если попытаетесь использовать ключ до того, как он будет распознан системой. Подождите несколько минут и повторите попытку, иначе может потребоваться сгенерировать новый ключ API в Cloud Console. Чтобы получить ключ API, нажмите кнопку ниже. |
|
Ошибка |
Недопустимый идентификатор клиента в элементе script, который загружает API, или истекший срок действия идентификатора. Проверьте корректность использования своего ID клиента. Идентификатор клиента должен начинаться с префикса «gme-«. Если эта ошибка возникает даже при правильном использовании ID клиента, возможно, срок действия этого идентификатора истек. Свяжитесь с вашим менеджером Google по работе с клиентами.
Если у вас нет лицензии Premium или Maps API for Work, используйте с вашим ключом API параметр Подробнее… |
|
Ошибка |
Не найден ключ API в элементе script, загружающем API. Убедитесь, что используете правильный ключ. Сгенерировать новый ключ API можно в Cloud Console. Чтобы получить ключ API, нажмите кнопку ниже. |
|
Ошибка |
Ваше приложение использует неподдерживаемую схему URI. Используйте допустимый формат URI, определенный в RFC 3986. |
|
Ошибка |
В элементе script, загружающем API, отсутствует необходимый параметр аутентификации. Если вы используете стандартный Maps JavaScript API, применяйте параметр Если у вас оформлена лицензия Premium, используйте параметр Вы не можете исправить такую ошибку, если НЕ являетесь владельцем сайта. Обнаружив ее, сообщите об этом владельцу. |
|
Ошибка |
Ваш запрос не выполнен. Более подробную информацию ищите в Cloud Console. Cloud Console |
|
Ошибка |
Ваше приложение было заблокировано из-за несоответствия Условиям использования платформы Google Карт после отправки нескольких уведомлений по эл. почте. Чтобы обжаловать блокировку и запросить проверку вашей реализации приложения, заполните эту форму. Ответ будет предоставлен вам по эл. почте в течение нескольких рабочих дней. |
|
Ошибка |
URL-адрес, загружающий Maps JavaScript API, не был добавлен в список разрешенных источников. Проверьте источники ссылок для своего ключа API в Cloud Console. Подробнее… |
|
Ошибка |
Количество запросов превысило лимиты, установленные для Maps JavaScript API. Запросы вашего приложения начнут обрабатываться снова, когда наступит время следующей дневной квоты. Вы не можете исправить такую ошибку, если НЕ являетесь владельцем сайта. Обнаружив ее, сообщите об этом владельцу. Подробнее о лимитах на использование API читайте здесь. В статье также описано, как повысить эти лимиты. |
|
Ошибка |
Предоставленный ключ API или проект API, с которым он связан, не могут быть распознаны. Возможно, эта ошибка временная. Если ошибка повторяется, не исключено, что вам потребуется получить новый ключ API или создать новый проект. Подробнее… |
|
Предупреждение |
Возможно, вы указали в параметре Подробнее об идентификаторах клиента… |
|
Предупреждение |
Возможно, вы указали в параметре Подробнее… |
|
Предупреждение |
Возможно, вы некорректно указали параметр Подробнее читайте в статье Отчеты в тарифном плане Premium. |
|
Предупреждение |
Параметр Подробнее… |
|
Предупреждение |
Ключ API в элементе script, загружающем API, выглядит некорректно. Проверьте, используете ли вы правильный ключ API. Чтобы получить ключ API, нажмите кнопку ниже. |
|
Предупреждение |
Вы указали неверный номер версии в элементе script. Подробнее читайте в статье Версии Maps JavaScript API. |
|
Предупреждение |
Возможно, вы указали ID клиента в качестве параметра key . Если у вас есть лицензия Premium или Maps API for Work, укажите идентификатор в качестве значения параметра client , а не параметра key . С лицензией Premium платформы Google Карт вы можете использовать оба параметра (client или key ). Если у вас нет лицензий, вместо параметра client необходимо использовать key .
Подробнее… |
|
Предупреждение |
Возможно, вы указали криптографический ключ или секретный код подписи в качестве параметра Подробнее… |
|
Предупреждение |
Возможно, вы указали в качестве параметра Подробнее… |
|
Предупреждение |
В элементе script, который загружает API, нет ключа API. Проверьте, указан ли действительный ключ API в качестве параметра
Чтобы получить ключ API, нажмите кнопку ниже.
Если вы попытаетесь загрузить Maps JavaScript API по ссылке на устаревшую версию (v2), то получите предупреждение |
|
Предупреждение |
Возможно, вы указали неподдерживаемую версию в элементе script. Подробнее читайте в статье Версии Maps JavaScript API. |
|
Предупреждение |
Параметр |
|
Предупреждение |
Параметр |
|
Предупреждение |
Параметр |
|
Ошибка |
Произошла ошибка, которая не относится к другим категориям, описанным на этой странице. Это может быть вызвано временной проблемой. Повторите запрос через некоторое время. Если проблема не исчезнет, сверьтесь с руководством для разработчиков, чтобы понять, имеет ли ваш запрос правильный формат. |
Проверка ошибок в браузере
Maps JavaScript API записывает сообщения об ошибках в window.console
. В этом разделе мы рассказываем, как проверить выходные данные window.console
в Google Chrome. Если вы используете другой браузер, обратитесь к его документации для разработчиков. Ниже даны ссылки на инструменты, с помощью которых можно проверить выходные данные window.console
в некоторых других браузерах:
- Консоль Internet Explorer
- Веб-консоль Firefox
- Удаленная отладка в Android
- Веб-инспектор iOS
Вот как использовать консоль JavaScript для проверки выходных данных window.console
в Chrome:
- Откройте инструменты разработчика (нажмите на значок меню > Другие инструменты > Инструменты разработчика).
-
Чтобы открыть консоль JavaScript, нажмите клавишу ESC на клавиатуре.
Клавиша ESC переключит в режим консоли JavaScript. Если вы закроете консоль, еще раз нажмите ESC, чтобы открыть ее.
Если при загрузке Maps JavaScript API возникнут ошибки или предупреждения, они сохранятся на консоли в виде строк.
Сообщение об ошибке или предупреждение имеют следующий формат:
Google Maps API error: [ERROR CODE] [Link to API document]
или
Google Maps API warning: [ERROR CODE] [Link to API document]
Чтобы понять код ошибки, найдите его в этой таблице. Кроме того, в сообщении об ошибке будет ссылка на документацию с ее описанием.
Примечание. Прослушивать ошибки аутентификации можно программно.
Работа с неподдерживаемыми браузерами
Проверьте, поддерживает ли Maps JavaScript API используемая вами версия браузера.
- Если вы пользуетесь браузером Internet Explorer (IE), обновите его до последней версии. Поскольку старые версии IE не поддерживаются, вы также можете использовать вместо них любой альтернативный поддерживаемый браузер.
- Если вы разрабатываете нативное приложение для Windows WebView в поддерживаемой версии браузера Internet Explorer, вполне вероятно, что этот браузер будет переходить в режим, в котором браузером по умолчанию станет Internet Explorer 7. Переопределить такое поведение по умолчанию можно одним из следующих способов:
- Задайте режим совместимости с помощью значения
IE X-UA-Compatible
в заголовке объекта meta (рекомендуемый способ).<meta http-equiv="x-ua-compatible" content="IE=edge">
- Обновите реестр, чтобы использовать специальные ключи для приложения (
FEATURE_BROWSER_EMULATION
).
Если ваш код по-прежнему не работает
Чтобы помочь вам справиться с наиболее распространенными ошибками, Брендан Кенни и Мано Маркс записали для вас это видео. Вот что они советуют:
- Ищите опечатки. Помните, что в языке JavaScript учитывается регистр.
- Не забывайте об основах! Некоторые распространенные проблемы возникают еще на начальном этапе создания карты. Например:
- заданы ли свойства
zoom
иcenter
; - объявлен ли элемент div, в котором карта будет отображаться на экране;
- задана ли для элемента div высота на экране. По умолчанию элементы div создаются с высотой 0 и поэтому не отображаются на экране.
Изучите примеры по программированию ссылок.
- заданы ли свойства
- В инструментах разработчика Chrome предусмотрен отладчик JavaScript, помогающий выявлять проблемы. Начните поиск ошибок с консоли JavaScript.
- Задавайте вопросы на форуме Stack Overflow. Пользуйтесь инструкциями и советами на странице Поддержка.