1# File Management 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 7The error codes of the file management subsystem include the following: 8- [Basic File IO Error Codes](#basic-file-io-error-codes) 9- [User Data Management Error Codes](#user-data-management-error-codes) 10- [User File Access Error Codes](#user-file-access-error-codes) 11- [Space Statistics Error Codes](#space-statistics-error-codes) 12- [Device-Cloud Synchronization Error Codes](#device-cloud-synchronization-error-codes) 13 14## Basic File IO Error Codes 15 16### 13900001 Operation Not Permitted 17 18**Error Message** 19 20Operation not permitted 21 22**Possible Causes** 23 24The current operation on the file is not allowed. 25 26**Solution** 27 28Check the permission for the file. 29 30### 13900002 File or Directory Not Exist 31 32**Error Message** 33 34No such file or directory 35 36**Possible Causes** 37 38The file or directory does not exist. 39 40**Solution** 41 42Check whether the file directory exists. 43 44### 13900003 Process Not Exist 45 46**Error Message** 47 48No such process 49 50**Possible Causes** 51 52The process does not exist. 53 54**Solution** 55 561. Check whether the process is killed unexpectedly. 57 582. Check whether the service related to the process has started. 59 60### 13900004 System Call Interrupted 61 62**Error Message** 63 64Interrupted system call 65 66**Possible Causes** 67 68The system call is interrupted by another thread. 69 70**Solution** 71 721. Check the multi-thread code logic. 73 742. Invoke the system call again. 75 76### 13900005 I/O Error 77 78**Error Message** 79 80I/O error 81 82**Possible Causes** 83 84The I/O request is invalid. 85 86**Solution** 87 88Initiate the I/O request again. 89 90### 13900006 Device or Address Not Exist 91 92**Error Message** 93 94No such device or address 95 96**Possible Causes** 97 98The device information or address is incorrect. 99 100**Solution** 101 102Check that the device information or address is correct. 103 104### 13900007 Long Parameter List 105 106**Error Message** 107 108Arg list too long 109 110**Possible Causes** 111 112The parameter list is too long. 113 114**Solution** 115 116Reduce the number of parameters. 117 118### 13900008 File Descriptor Corrupted 119 120**Error Message** 121 122Bad file descriptor 123 124**Possible Causes** 125 1261. This file descriptor is closed. 1272. The read and write permissions on the file do not match the settings. 128 129**Solution** 130 1311. Check whether the file descriptor is closed. 1322. Check that the permissions on the file match the settings. 133 134### 13900009 Child Process Not Exist 135 136**Error Message** 137 138No child processes 139 140**Possible Causes** 141 142The child process cannot be created. 143 144**Solution** 145 146Check the maximum number of processes in the system. 147 148### 13900010 Resource Unavailable 149 150**Error Message** 151 152Try again 153 154**Possible Causes** 155 156The resources are blocked. 157 158**Solution** 159 160Request the resource again. 161 162### 13900011 Memory Overflow 163 164**Error Message** 165 166Out of memory 167 168**Possible Causes** 169 170A memory overflow occurs. 171 172**Solution** 173 1741. Check the memory overhead. 175 1762. Control the memory overhead. 177 178### 13900012 Permission Denied 179 180**Error Message** 181 182Permission denied 183 184**Possible Causes** 185 1861. You do not have the permission to operate the file. 187 1882. The file sandbox path is incorrect. 189 190**Solution** 191 1921. Check that the required permission is available. 193 1942. Check that the file sandbox path is correct. 195 196### 13900013 Incorrect Address 197 198**Error Message** 199 200Bad address 201 202**Possible Causes** 203 204The address is incorrect. 205 206**Solution** 207 208Check that the address is correct. 209 210### 13900014 Device or Resource Not Available 211 212**Error Message** 213 214Device or resource busy 215 216**Possible Causes** 217 218The requested resource is unavailable. 219 220**Solution** 221 222Request the resource again. 223 224### 13900015 File Already Exists 225 226**Error Message** 227 228File exists 229 230**Possible Causes** 231 232The file to be created already exists. 233 234**Solution** 235 236Check whether the file path is correct. 237 238### 13900016 Invalid Cross-Device Link 239 240**Error Message** 241 242Cross-device link 243 244**Possible Causes** 245 246The link between devices is incorrect. 247 248**Solution** 249 250Check the devices and create the link correctly. 251 252### 13900017 Device Not Exist 253 254**Error Message** 255 256No such device 257 258**Possible Causes** 259 260The device is not identified. 261 262**Solution** 263 264Check the connection to the target device. 265 266### 13900018 Invalid Directory 267 268**Error Message** 269 270Not a directory 271 272**Possible Causes** 273 274The specified directory is invalid. 275 276**Solution** 277 278Check that the specified directory is correct. 279 280### 13900019 The Specified Object Is a Directory 281 282**Error Message** 283 284Is a directory 285 286**Possible Causes** 287 288The specified object is a directory. 289 290**Solution** 291 292Check that the specified data is correct. 293 294### 13900020 Invalid Parameter 295 296**Error Message** 297 298Invalid argument 299 300**Possible Causes** 301 302The input parameter is invalid. 303 304**Solution** 305 306Check that the input parameters are valid. 307 308### 13900021 Too Many File Descriptors Opened 309 310**Error Message** 311 312File table overflow 313 314**Possible Causes** 315 316The number of file descriptors opened has reached the limit. 317 318**Solution** 319 320Close the file descriptors that are no longer required. 321 322### 13900022 Too Many Files Opened 323 324**Error Message** 325 326Too many open files 327 328**Possible Causes** 329 330The number of files opened has reached the limit. 331 332**Solution** 333 334Close the files that are not required. 335 336### 13900023 Text File Not Respond 337 338**Error Message** 339 340Text file busy 341 342**Possible Causes** 343 344The executable file of the program is in use. 345 346**Solution** 347 348Close the program that is being debugged. 349 350### 13900024 File Oversized 351 352**Error Message** 353 354File too large 355 356**Possible Causes** 357 358The file size exceeds the limit. 359 360**Solution** 361 362Check whether the file size exceeds the limit. 363 364### 13900025 Insufficient Space on the Device 365 366**Error Message** 367 368No space left on device 369 370**Possible Causes** 371 372The device storage space is insufficient. 373 374**Solution** 375 376Clear the space of the device. 377 378### 13900026 Invalid Shift 379 380**Error Message** 381 382Illegal seek 383 384**Possible Causes** 385 386Seek is used in pipe or FIFO. 387 388**Solution** 389 390Check the use of **seek()**. 391 392### 13900027 Read-Only File System 393 394**Error Message** 395 396Read-only file system 397 398**Possible Causes** 399 400The file system allows read operations only. 401 402**Solution** 403 404Check whether the file is read-only. 405 406### 13900028 Links Reach the Limit 407 408**Error Message** 409 410Too many links 411 412**Possible Causes** 413 414The number of links to the file has reached the limit. 415 416**Solution** 417 418Delete the links that are no longer required. 419 420### 13900029 Resource Deadlock 421 422**Error Message** 423 424Resource deadlock would occur 425 426**Possible Causes** 427 428Resource deadlock occurs. 429 430**Solution** 431 432Terminate the deadlock process. 433 434### 13900030 Long File Name 435 436**Error Message** 437 438Filename too Long 439 440**Possible Causes** 441 442The length of the path or file name exceeds the limit. 443 444**Solution** 445 446Modify the path or file name. 447 448### 13900031 Function Not Implemented 449 450**Error Message** 451 452Function not implemented 453 454**Possible Causes** 455 456The function is not supported by the system. 457 458**Solution** 459 460Check the system version and update the system if required. 461 462### 13900032 Directory Not Empty 463 464**Error Message** 465 466Directory not empty 467 468**Possible Causes** 469 470The specified directory is not empty. 471 472**Solution** 473 4741. Check the directory. 475 4762. Ensure that the directory is empty. 477 478### 13900033 Too Many Symbol Links 479 480**Error Message** 481 482Too many symbolic links encountered 483 484**Possible Causes** 485 486There are too many symbolic links. 487 488**Solution** 489 490Delete unnecessary symbol links. 491 492### 13900034 Operation Blocked 493 494**Error Message** 495 496Operation would block 497 498**Possible Causes** 499 500The operation is blocked. 501 502**Solution** 503 504Perform the operation again. 505 506### 13900035 Invalid File Descriptor 507 508**Error Message** 509 510Invalid request descriptor 511 512**Possible Causes** 513 514The requested file descriptor is invalid. 515 516**Solution** 517 518Check that the file descriptor is valid. 519 520### 13900036 Target Is Not a Character Stream Device 521 522**Error Message** 523 524Device not a stream 525 526**Possible Causes** 527 528The device pointed to by the file descriptor is not a character stream device. 529 530**Solution** 531 532Check whether the file descriptor points to a stream. 533 534### 13900037 No Data Available 535 536**Error Message** 537 538No data available 539 540**Possible Causes** 541 542The required data is not available. 543 544**Solution** 545 546Request the data again. 547 548### 13900038 Value Mismatches the Data Type 549 550**Error Message** 551 552Value too large for defined data type 553 554**Possible Causes** 555 556The specified value is out of the range defined for the data type. 557 558**Solution** 559 560Modify the data type. 561 562### 13900039 File Descriptor Corrupted 563 564**Error Message** 565 566File descriptor in bad state 567 568**Possible Causes** 569 570The file descriptor is corrupted. 571 572**Solution** 573 574Check that the file descriptor is valid. 575 576### 13900040 System Call Not Started 577 578**Error Message** 579 580Interrupted system call should be restarted 581 582**Possible Causes** 583 584The system call is interrupted. 585 586**Solution** 587 588Invoke the system call again. 589 590### 13900041 Disk Quota Exceeded 591 592**Error Message** 593 594Quota exceeded 595 596**Possible Causes** 597 598The storage space is insufficient. 599 600**Solution** 601 602Clear disk space. 603 604### 13900042 Unknown Error 605 606**Error Message** 607 608Unknown error 609 610**Possible Causes** 611 612The error is unidentified. 613 614**Solution** 615 6161. Call the API again. 617 6182. Restart the service. 619 620## User Data Management Error Codes 621 622### 14000001 Invalid File Name 623 624**Error Message** 625 626Invalid display name 627 628**Possible Causes** 629 630The file name contains invalid characters. 631 632**Solution** 633 634Modify the file name. 635 636### 14000002 Invalid URI 637 638**Error Message** 639 640Invalid uri 641 642**Possible Causes** 643 644The URI is invalid. 645 646**Solution** 647 648Use the obtained URI. 649 650### 14000003 Invalid File Name Extension 651 652**Error Message** 653 654Invalid file name extension 655 656**Possible Causes** 657 658The file name extension is incorrect. 659 660**Solution** 661 662Modify the file name extension. 663 664### 14000004 File in Recycle Bin 665 666**Error Message** 667 668File has been put into trash bin 669 670**Possible Causes** 671 672The file is moved to the Recycle Bin. 673 674**Solution** 675 676Check whether the file is in the Recycle Bin. 677 678### 14000011 Internal System Error 679 680**Error Message** 681 682System inner fail 683 684**Possible Causes** 685 686An unidentified error occurs in the system. 687 688**Solution** 689 690Clear the background or restart the device. 691 692### 14000014 Invalid Member Name 693 694**Error Message** 695 696Member is not a valid PhotoKey 697 698**Possible Causes** 699 700The input string is not a member name of a class or interface. 701 702**Solution** 703 704Ensure that the input string is the member name of the class or interface. 705 706## Space Statistics Error Codes 707 708### 13600001 IPC Failed 709 710**Error Message** 711 712IPC error 713 714**Possible Causes** 715 716The called service does not exist. 717 718**Solution** 719 720Check whether the service is started. 721 722### 13600002 File System Not Supported 723 724**Error Message** 725 726Not supported filesystem 727 728**Possible Causes** 729 730The file system is not supported. 731 732**Solution** 733 734Use a supported file system. 735 736### 13600003 Mount Failed 737 738**Error Message** 739 740Failed to mount 741 742**Possible Causes** 743 744The **mount** command fails. 745 746**Solution** 747 748Remove the card and run the **mount** command again. 749 750### 13600004 Unmount Failed 751 752**Error Message** 753 754Failed to unmount 755 756**Possible Causes** 757 758The device does not respond. 759 760**Solution** 761 762Check whether the file is being used. If yes, kill the thread that uses the file. 763 764### 13600005 Incorrect Volume State 765 766**Error Message** 767 768Incorrect volume state 769 770**Possible Causes** 771 772The volume state is incorrect. 773 774**Solution** 775 776Check whether the current volume state is correct. 777 778### 13600006 Failed to Create a Directory or Node 779 780**Error Message** 781 782Prepare directory or node error 783 784**Possible Causes** 785 786The directory or node to be created already exists. 787 788**Solution** 789 790Check whether the directory or node to be created already exists. 791 792### 13600007 Failed to Delete a Directory or Node 793 794**Error Message** 795 796Delete directory or node error 797 798**Possible Causes** 799 800The specified directory or node has been deleted. 801 802**Solution** 803 804Check whether the specified directory or node exists. 805 806### 13600008 Object Not Exist 807 808**Error Message** 809 810No such object 811 812**Possible Causes** 813 8141. The specified volume ID is incorrect. 815 8162. The specified bundle name is incorrect. 817 818**Solution** 819 8201. Check whether the specified volume exists. 821 8222. Check whether the specified bundle name exists. 823 824### 13600009 Invalid User ID 825 826**Error Message** 827 828User id out of range 829 830**Possible Causes** 831 832The specified user ID is incorrect. 833 834**Solution** 835 836Check that the user ID is correct. 837 838## User File Access Error Codes 839 840### 14300001 IPC Failed 841 842**Error Message** 843 844IPC error 845 846**Possible Causes** 847 8481. The server service does not exist. 849 8502. The extension mechanism is abnormal. 851 852**Solution** 853 854Check that the server service exists. 855 856### 14300002 Incorrect URI Format 857 858**Error Message** 859 860Invalid uri 861 862**Possible Causes** 863 864The URI is invalid. 865 866**Solution** 867 868Check that the URI is in correct format. 869 870### 14300003 Failed to Obtain the Server Ability Information 871 872**Error Message** 873 874Fail to get fileextension info 875 876**Possible Causes** 877 878The BMS interface is abnormal. 879 880**Solution** 881 882Check for basic system capability errors. 883 884### 14300004 Incorrect Result Returned by js-server 885 886**Error Message** 887 888Get wrong result 889 890**Possible Causes** 891 892The data returned by the server is incorrect. 893 894**Solution** 895 896Check the data returned by the server. 897 898### 14300005 Failed to Register Notify 899 900**Error Message** 901 902Fail to register notification 903 904**Possible Causes** 905 9061. The server service does not exist. 907 9082. The extension mechanism is abnormal. 909 910**Solution** 911 912Check that the server service exists. 913 914### 14300006 Failed to Unregister Notify 915 916**Error Message** 917 918Fail to remove notification 919 920**Possible Causes** 921 9221. The server service does not exist. 923 9242. The extension mechanism is abnormal. 925 926**Solution** 927 928Check that the server service exists. 929 930### 14300007 Failed to Initialize the Notify Agent 931 932**Error Message** 933 934Fail to init notification agent 935 936**Possible Causes** 937 938The specified Notify agent has not been registered. 939 940**Solution** 941 942Check whether the specified Notify agent is registered. 943 944### 14300008 Failed to Notify the Agent 945 946**Error Message** 947 948Fail to notify agent 949 950**Possible Causes** 951 9521. The service does not exist. 953 9542. The extension mechanism is abnormal. 955 956**Solution** 957 958Check whether the client is normal. 959 960## Device-Cloud Synchronization Error Codes 961 962### 22400001 Cloud Unavailable 963 964**Error Message** 965 966Cloud status not ready 967 968**Possible Causes** 969 9701. The cloud is not enabled. 971 9722. The cloud synchronization switch is not enabled for the application. 973 974**Solution** 975 9761. Check that the user has logged in with a cloud account. 977 9782. Check that the cloud synchronization switch is enabled. 979 980### 22400002 Network Unavailable 981 982**Error Message** 983 984Network unavailable 985 986**Possible Causes** 987 988The device is not connected to the network or the network is unavailable. 989 990**Solution** 991 992Check the network status. 993 994### 22400003 Low Battery Level 995 996**Error Message** 997 998Battery level warning 999 1000**Possible Causes** 1001 1002The battery level is low. 1003 1004**Solution** 1005 1006Perform the operation after the battery is being charged or the battery level is restored. 1007