Error Code
To avoid confusion and potential conflict risks, Fresns status codes prohibit the use of numeric codes consistent with HTTP status codes. Fresns takes 0
as the success code, all other codes indicate a request error, and the 5-digit
code indicates the response status.
0
Request successful
Plugin
1****
Plugin Usage11***
Plugin Manager12***
Marketplace13***
Plugin business functions
Cmd Word
2****
Command Word Usage21***
Cmd Word Manager22***
Official Business Command Word221**
Basic222**
Send223**
Account224**
User225**
Wallet226**
File227**
Content229**
Crontab
23***
Command Word Business Functions
API
3****
API Usage30***
Commons31***
Headers311**
Platform312**
Version313**
App ID / Secret and Sign314**
Lang Tag and Timezone315**
Account316**
User317**
Device Info
32***
Extensions321**
Configuration Class322**
Validation Class323**
Running Class
33***
Systems34***
Accounts341**
Parameter Verification342**
Register343**
Login344**
Modification and Configuration345**
Wallet
35***
Users351**
Parameter Verification352**
User Auth353**
User Permissions
36***
Interactions361**
Role362**
Mark353**
Publish364**
Delete365**
Reset366**
Conversation367**
Notification
37***
Contents371**
Group372**
Hashtag373**
Post374**
Comment375**
File376**
Extend
38***
Editor381**
Edit Validation382**
Check Parameter
Callback
4****
Callback Usage
Other
5****
Customize Usage
Usage Examples
If used in combination with HTTP status code, you can learn from the following examples.
13404
indicates that theplugin
could not find the resource;23415
indicates that thecommand word
cannot handle the media format attached to the request;50501
indicates that thethird-party API
does not support the requested function and cannot complete the request.
The first two digits are the code assigned by Fresns, and the last three digits are HTTP status codes. The combination of the two can also quickly locate the problem when an error occurs.