1# Camera Error Codes 2 3> **NOTE** 4> 5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md). 6 7## 7400101 Invalid Parameter 8 9**Error Message** 10 11Parameter missing or parameter type incorrect. 12 13**Error Description** 14 15A parameter passed in the API is invalid. 16 17**Possible Cause** 18 19The parameter is invalid. For example, the parameter value is not within the range supported. 20 21**Solution** 22 23Pass the correct parameters in the API. 24 25## 7400102 Invalid Operation 26 27**Error Message** 28 29Operation not allowed. 30 31**Error Description** 32 33The operation is not performed in the specified mode. 34 35**Possible Cause** 36 37The API execution sequence is incorrect. For example, the **commitConfig** API is called in prior to **beginConfig**. 38 39**Solution** 40 41Perform operations according to the API reference and guide. 42 43## 7400103 Session Not Configured 44 45**Error Message** 46 47Session not config. 48 49**Error Description** 50 51An operation that requires session configuration is performed before the session is configured. 52 53**Possible Cause** 54 55For example, the **start()** API is called before the session is configured. 56 57**Solution** 58 59Configure the session first. 60 61## 7400104 Session Not Running 62 63**Error Message** 64 65Session not running. 66 67**Error Description** 68 69An operation that requires a running session is performed before the session runs. 70 71**Possible Cause** 72 73For example, the **capture()** API is called before the session runs. 74 75**Solution** 76 77Perform the operation to run the session first. 78 79## 7400105 Session Configuration Locked 80 81**Error Message** 82 83Session config locked. 84 85**Error Description** 86 87The session configuration is locked. 88 89**Possible Cause** 90 91Another thread has locked the session configuration. 92 93**Solution** 94 95Wait until the session configuration is unlocked. 96 97## 7400106 Device Configuration Locked 98 99**Error Message** 100 101Device setting locked. 102 103**Error Description** 104 105The device configuration is locked. 106 107**Possible Cause** 108 109Another thread has locked the device configuration. 110 111**Solution** 112 113Wait until the device configuration is unlocked. 114 115## 7400107 Camera Conflict 116 117**Error Message** 118 119Can not use camera cause of conflict. 120 121**Error Description** 122 123The camera cannot be used due to a conflict. 124 125**Possible Cause** 126 127The opened camera conflicts with the local camera to be used. 128 129**Solution** 130 131Wait until the conflicting camera is released. 132 133## 7400108 Camera Disabled Due to Security Reasons 134 135**Error Message** 136 137Camera disabled cause of security reason. 138 139**Error Description** 140 141The camera cannot be used due to security policies. 142 143**Possible Cause** 144 145The application running in the background attempts to open the camera. 146 147**Solution** 148 149Switch the application to the foreground first. 150 151## 7400109 Camera Preempted 152 153**Error Message** 154 155Can not use camera cause of preempted. 156 157**Error Description** 158 159The camera cannot be used because it is preempted. 160 161**Possible Cause** 162 163Two applications attempt to open the same camera simultaneously. 164 165**Solution** 166 167N/A 168 169## 7400110 Configuration Conflicts 170 171**Error Message** 172 173Unresolved conflicts with current configurations. 174 175**Error Description** 176 177The committed configuration is incompatible with the configuration supported by the device. 178 179**Possible Cause** 180 181The frame rate of the preview stream exceeds that supported by the device. 182 183**Solution** 184 185Check whether the committed configuration is supported by the device. 186 187## 7400201 Camera Service Error 188 189**Error Message** 190 191Camera service fatal error. 192 193**Error Description** 194 195The camera service is abnormal. 196 197**Possible Cause** 198 199For example, the camera service is restarted or cross-process invoking is abnormal. 200 201**Solution** 202 203Create the service again. 204