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 9- [Basic File IO Error Codes](#basic-file-io-error-codes) 10- [User Data Management Error Codes](#user-data-management-error-code) 11- [User File Access Error Codes](#user-file-access-error-codes) 12- [Space Statistics Error Codes](#space-statistics-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 Invalid File Descriptor 119 120**Error Message** 121 122Bad file descriptor 123 124**Possible Causes** 125 126This file descriptor is closed. 127 128**Solution** 129 130Check whether the file descriptor is closed. 131 132### 13900009 Child Process Not Exist 133 134**Error Message** 135 136No child processes 137 138**Possible Causes** 139 140The child process cannot be created. 141 142**Solution** 143 144Check the maximum number of processes in the system. 145 146### 13900010 Resource Unavailable 147 148**Error Message** 149 150Try again 151 152**Possible Causes** 153 154The resources are blocked. 155 156**Solution** 157 158Request resources. 159 160### 13900011 Memory Overflow 161 162**Error Message** 163 164Out of memory 165 166**Possible Causes** 167 168A memory overflow occurs. 169 170**Solution** 171 1721. Check the memory overhead. 173 1742. Control the memory overhead. 175 176### 13900012 Permission Denied 177 178**Error Message** 179 180Permission denied 181 182**Possible Causes** 183 1841. You do not have the permission to operate the file. 185 1862. The file sandbox path is incorrect. 187 188**Solution** 189 1901. Check that the required permission is available. 191 1922. Check that the file sandbox path is correct. 193 194### 13900013 Incorrect Address 195 196**Error Message** 197 198Bad address 199 200**Possible Causes** 201 202The address is incorrect. 203 204**Solution** 205 206Check that the address is correct. 207 208### 13900014 Device or Resource Not Available 209 210**Error Message** 211 212Device or resource busy 213 214**Possible Causes** 215 216The requested resource is unavailable. 217 218**Solution** 219 220Request the resource again. 221 222### 13900015 File Already Exists 223 224**Error Message** 225 226File exists 227 228**Possible Causes** 229 230The file to be created already exists. 231 232**Solution** 233 234Check whether the file path is correct. 235 236### 13900016 Invalid Cross-Device Link 237 238**Error Message** 239 240Cross-device link 241 242**Possible Causes** 243 244The link between devices is incorrect. 245 246**Solution** 247 248Check the devices and create the link correctly. 249 250### 13900017 Device Not Exist 251 252**Error Message** 253 254No such device 255 256**Possible Causes** 257 258The device is not identified. 259 260**Solution** 261 262Check the connection to the target device. 263 264### 13900018 Invalid Directory 265 266**Error Message** 267 268Not a directory 269 270**Possible Causes** 271 272The specified directory is invalid. 273 274**Solution** 275 276Check that the directory is correct. 277 278### 13900019 The Specified Object Is a Directory 279 280**Error Message** 281 282Is a directory 283 284**Possible Causes** 285 286The specified object is a directory. 287 288**Solution** 289 290Check that the specified data is correct. 291 292### 13900020 Invalid Parameter 293 294**Error Message** 295 296Invalid argument 297 298**Possible Causes** 299 300Invalid input parameter is detected. 301 302**Solution** 303 304Check that the input parameters are valid. 305 306### 13900021 Too Many File Descriptors Opened 307 308**Error Message** 309 310File table overflow 311 312**Possible Causes** 313 314The number of file descriptors opened has reached the limit. 315 316**Solution** 317 318Close the file descriptors that are no longer required. 319 320### 13900022 Too Many Files Opened 321 322**Error Message** 323 324Too many open files 325 326**Possible Causes** 327 328The number of files opened has reached the limit. 329 330**Solution** 331 332Close the files that are not required. 333 334### 13900023 Text File Not Respond 335 336**Error Message** 337 338Text file busy 339 340**Possible Causes** 341 342The executable file of the program is in use. 343 344**Solution** 345 346Close the program that is being debugged. 347 348### 13900024 File Oversized 349 350**Error Message** 351 352File too large 353 354**Possible Causes** 355 356The file size exceeds the limit. 357 358**Solution** 359 360Check whether the file size exceeds the limit. 361 362### 13900025 Insufficient Space on the Device 363 364**Error Message** 365 366No space left on device 367 368**Possible Causes** 369 370The device storage space is insufficient. 371 372**Solution** 373 374Clear the space of the device. 375 376### 13900026 Invalid Shift 377 378**Error Message** 379 380Illegal seek 381 382**Possible Causes** 383 384Seek is used in pipe or FIFO. 385 386**Solution** 387 388Check the use of **seek()**. 389 390### 13900027 Read-Only File System 391 392**Error Message** 393 394Read-only file system 395 396**Possible Causes** 397 398The file system allows read operations only. 399 400**Solution** 401 402Check whether the file is read-only. 403 404### 13900028 Links Reach the Limit 405 406**Error Message** 407 408Too many links 409 410**Possible Causes** 411 412The number of links to the file has reached the limit. 413 414**Solution** 415 416Delete the links that are no longer required. 417 418### 13900029 Resource Deadlock 419 420**Error Message** 421 422Resource deadlock would occur 423 424**Possible Causes** 425 426Resource deadlock occurs. 427 428**Solution** 429 430Terminate the deadlock process. 431 432### 13900030 Long File Name 433 434**Error Message** 435 436Filename too Long 437 438**Possible Causes** 439 440The length of the path or file name exceeds the limit. 441 442**Solution** 443 444Modify the path or file name. 445 446### 13900031 Function Not Implemented 447 448**Error Message** 449 450Function not implemented 451 452**Possible Causes** 453 454The function is not supported by the system. 455 456**Solution** 457 458Check the system version and update the system if required. 459 460### 13900032 Directory Not Empty 461 462**Error Message** 463 464Directory not empty 465 466**Possible Causes** 467 468The specified directory is not empty. 469 470**Solution** 471 4721. Check the directory. 473 4742. Ensure that the directory is empty. 475 476### 13900033 Too Many Symbol Links 477 478**Error Message** 479 480Too many symbolic links 481 482**Possible Causes** 483 484There are too many symbolic links. 485 486**Solution** 487 488Delete unnecessary symbol links. 489 490### 13900034 Operation Blocked 491 492**Error Message** 493 494Operation would block 495 496**Possible Causes** 497 498The operation is blocked. 499 500**Solution** 501 502Perform the operation again. 503 504### 13900035 Invalid File Descriptor 505 506**Error Message** 507 508Invalid request descriptor 509 510**Possible Causes** 511 512The requested file descriptor is invalid. 513 514**Solution** 515 516Check that the file descriptor is valid. 517 518### 13900036 Target Is Not a Character Stream Device 519 520**Error Message** 521 522Device not a stream 523 524**Possible Causes** 525 526The device pointed to by the file descriptor is not a character stream device. 527 528**Solution** 529 530Check whether the file descriptor points to a stream. 531 532### 13900037 No Data Available 533 534**Error Message** 535 536No data available 537 538**Possible Causes** 539 540The required data is not available. 541 542**Solution** 543 544Request the data again. 545 546### 13900038 Value Mismatches the Data Type 547 548**Error Message** 549 550Value too large for defined data type 551 552**Possible Causes** 553 554The specified value is out of the range defined for the data type. 555 556**Solution** 557 558Modify the data type. 559 560### 13900039 File Descriptor Corrupted 561 562**Error Message** 563 564File descriptor in bad state 565 566**Possible Causes** 567 568The file descriptor is corrupted. 569 570**Solution** 571 572Check that the file descriptor is valid. 573 574### 13900040 System Call Interrupted 575 576**Error Message** 577 578Interrupted system call should be restarted 579 580**Possible Causes** 581 582The system call is interrupted. 583 584**Solution** 585 586Invoke the system call again. 587 588### 13900041 Disk Quota Exceeded 589 590**Error Message** 591 592Quota exceeded 593 594**Possible Causes** 595 596The disk space is insufficient. 597 598**Solution** 599 600Clear disk space. 601 602### 13900042 Unknown Error 603 604**Error Message** 605 606Unknown error 607 608**Possible Causes** 609 610The error is unidentified. 611 612**Solution** 613 6141. Call the API again. 615 6162. Restart the service. 617 618## User Data Management Error Codes 619 620### 14000001 Invalid File Name 621 622**Error Message** 623 624Invalid display name 625 626**Possible Causes** 627 628The file name contains invalid characters. 629 630**Solution** 631 632Modify the file name. 633 634### 14000002 Invalid URI 635 636**Error Message** 637 638Invalid uri 639 640**Possible Causes** 641 642The URI is invalid. 643 644**Solution** 645 646Use the obtained URI. 647 648### 14000003 Invalid File Name Extension 649 650**Error Message** 651 652Invalid file name extension 653 654**Possible Causes** 655 656The file name extension is incorrect. 657 658**Solution** 659 660Modify the file name extension. 661 662### 14000004 File in Recycle Bin 663 664**Error Message** 665 666File has been put into trash bin 667 668**Possible Causes** 669 670The file is moved to the Recycle Bin. 671 672**Solution** 673 674Check whether the file is in the Recycle Bin. 675 676## Space Statistics Error Codes 677 678### 13600001 IPC Failed 679 680**Error Message** 681 682IPC error 683 684**Possible Causes** 685 686The called service does not exist. 687 688**Solution** 689 690Check whether the service is started. 691 692### 13600002 File System Not Supported 693 694**Error Message** 695 696Not supported filesystem 697 698**Possible Causes** 699 700The file system is not supported. 701 702**Solution** 703 704Use a supported file system. 705 706### 13600003 Mount Failed 707 708**Error Message** 709 710Failed to mount 711 712**Possible Causes** 713 714The **mount** command fails. 715 716**Solution** 717 718Remove the card and run the **mount** command again. 719 720### 13600004 Unmount Failed 721 722**Error Message** 723 724Failed to unmount 725 726**Possible Causes** 727 728The device does not respond. 729 730**Solution** 731 732Check whether the file is being used. If yes, kill the thread that uses the file. 733 734### 13600005 Incorrect Volume State 735 736**Error Message** 737 738Incorrect volume state 739 740**Possible Causes** 741 742The volume state is incorrect. 743 744**Solution** 745 746Check whether the current volume state is correct. 747 748### 13600006 Failed to Create a Directory or Node 749 750**Error Message** 751 752Prepare directory or node error 753 754**Possible Causes** 755 756The directory or node to be created already exists. 757 758**Solution** 759 760Check whether the directory or node to be created already exists. 761 762### 13600007 Failed to Delete a Directory or Node 763 764**Error Message** 765 766Delete directory or node error 767 768**Possible Causes** 769 770The specified directory or node has been deleted. 771 772**Solution** 773 774Check whether the specified directory or node exists. 775 776### 13600008 Object Not Exist 777 778**Error Message** 779 780No such object 781 782**Possible Causes** 783 7841. The specified volume ID is incorrect. 785 7862. The specified bundle name is incorrect. 787 788**Solution** 789 7901. Check whether the specified volume exists. 791 7922. Check whether the specified bundle name exists. 793 794### 13600009 Invalid User ID 795 796**Error Message** 797 798User id out of range 799 800**Possible Causes** 801 802The specified user ID is incorrect. 803 804**Solution** 805 806Check that the user ID is correct. 807 808## User File Access Error Codes 809 810### 14300001 IPC Failed 811 812**Error Message** 813 814IPC error 815 816**Possible Causes** 817 8181. The server service does not exist. 819 8202. The extension mechanism is abnormal. 821 822**Solution** 823 824Check that the server service exists. 825 826### 14300002 Incorrect URI Format 827 828**Error Message** 829 830Invalid uri 831 832**Possible Causes** 833 834The URI is invalid. 835 836**Solution** 837 838Check that the URI is in correct format. 839 840### 14300003 Failed to Obtain the Server Ability Information 841 842**Error Message** 843 844Fail to get fileextension info 845 846**Possible Causes** 847 848The BMS interface is abnormal. 849 850**Solution** 851 852Check for basic system capability errors. 853 854### 14300004 Incorrect Result Returned by js-server 855 856**Error Message** 857 858Get wrong result 859 860**Possible Causes** 861 862The data returned by the server is incorrect. 863 864**Solution** 865 866Check the data returned by the server. 867 868### 14300005 Failed to Register Notify 869 870**Error Message** 871 872Fail to register notification 873 874**Possible Causes** 875 8761. The server service does not exist. 877 8782. The extension mechanism is abnormal. 879 880**Solution** 881 882Check that the server service exists. 883 884### 14300006 Failed to Unregister Notify 885 886**Error Message** 887 888Fail to remove notification 889 890**Possible Causes** 891 8921. The server service does not exist. 893 8942. The extension mechanism is abnormal. 895 896**Solution** 897 898Check that the server service exists. 899 900### 14300007 Failed to Initialize the Notify Agent 901 902**Error Message** 903 904Fail to init notification agent 905 906**Possible Causes** 907 908The specified Notify agent has not been registered. 909 910**Solution** 911 912Check whether the specified Notify agent is registered. 913 914### 14300008 Failed to Notify the Agent 915 916**Error Message** 917 918Fail to notify agent 919 920**Possible Causes** 921 9221. The service does not exist. 923 9242. The extension mechanism is abnormal. 925 926**Solution** 927 928Check whether the client is normal. 929