Usage notes
This service is a feature of the Industry Edition. You can call this service for free after you activate the Industry Edition. To activate the service, click Activate service.
After you activate the service, you must purchase a resource plan to make calls. To purchase a resource plan, click Purchase resource plan.
Supported language: Chinese
Supported industry: E-commerce
Request parameters
Name | Example | Location | Type | Required | Description |
Action | GetCateChEcom | body | string | Yes | A static field. Do not omit this parameter. |
ServiceCode | alinlp | body | string | Yes | A static field. Do not omit this parameter. |
Text | 58 with free shipping! Uniqlo give-back event: only 3,000 sets! You will know how good it is when you feel it. Produced by a major company with first-class quality. This price is only for the once-a-year internal special offer, and the event is limited to seven days! The current give-back event is incredibly generous! Fabric: First-grade tribute cotton, 130 g brushed. Size: Duvet cover 200×230, bed sheet 230×250, 2 pillowcases 48×74. Each set weighs 4.5 jin! | body | string | Yes | Product title for Chinese E-commerce The maximum length is 800 characters. |
ImageUrl | https://example.aliyundoc.com/20200530/i1590816112_2841_0.jpg | body | string | No | Product images from Chinese e-commerce 1. A compressed 500×500 image can reduce the response time (RT) without affecting performance. 2. ImageUrl can be empty. If ImageUrl does not exist, the service returns the prediction result based on the text only. |
Response data
Parameter name | Example value | Description |
tracerId | 6038368d47195915eff81a8f49ae0b45 | The unique ID of the request. Use this ID to troubleshoot issues. |
data | |
|
API access
For information about how to access the API using code, see Quick Start.
To try the service online, see Online trial.
Error codes
If an error occurs during a call, refer to the following table for the cause and solution.
HttpCode | Error code | Error message | Description |
400 | UserStatusInvalid | The user status is invalid. | The user status is invalid. Check whether your account has overdue payments or unpaid bills. |
400 | BasicServiceNotActivated | The NLP API (Version : base) service has not been activated. Please click the url to confirm the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpBasePost_public_cn#/buy | The NLP API (Basic Edition) service is not activated. Click the link to check the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpBasePost_public_cn#/buy |
400 | AdvancedServiceNotActivated | The NLP API (Version : advanced) service has not been activated. Please click the url to confirm the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpAdvancedPost_public_cn#/buy | The NLP API (Premium Edition) service is not activated. Click the link to check the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpAdvancedPost_public_cn#/buy |
400 | IndustryServiceNotActivated | The NLP API (Version : industry) service has not been activated. Please click the url to confirm the activation status:https://common-buy.aliyun.com/?commodityCode=nlp_alinlpIndustryPost_public_cn#/buy | The NLP API (Industry Application Edition) service is not activated. Click the link to check the activation status: https://common-buy.aliyun.com/?commodityCode=nlp_alinlpIndustryPost_public_cn#/buy |
401 | InvalidParameter | The parameter is invalid. | The parameter is invalid. Check the request parameters. |
403 | Forbidden.NoAuth | You are not authorized to operate on the specified resource. Please click the URL for help information:https://help.aliyun.com/document_detail/177209.html | Your account does not have the permission to operate on the specified resource. Click the URL for help information: Grant permissions to a RAM user |
405 | TextLimitExceeded | The maximum length of the text is exceeded. | The text length exceeds the limit. |
406 | TextCodingError | An encoding error occurred to the input text. | The input text has an encoding error. |
410 | FrameworkError | Framework internal server error. | A framework error occurred. |
411 | FrameworkApiError | Framework API error. | A framework API error occurred. |
412 | FrameworkFormatError | Framework request format error. | The request is in an invalid format for the framework. |
413 | FrameworkReturnError | Framework return type format error. | The response is in an invalid format for the framework. |
429 | Throttling.User | Flow control has been triggered. | The maximum number of queries per second (QPS) is exceeded. Click the URL for help information: QPS increment service pricing (limited-time offer) |
500 | InternalError | A server error occurred while processing your request. Please try again later or contact customer support. | A server error occurred while processing your request. Try again later or contact customer support. |