Papago Text Translation overview
- Print
- PDF
Papago Text Translation overview
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Papago is a neural machine translation (NMT) service based on an artificial neural network and technology developed in-house by NAVER, providing natural, context-sensitive translations.
Common settings
Client IDs are issued by registering the application in the NAVER Cloud Platform console.
Register the application at AI Service > Papago Translation > APIs.
Select the registered application from AI Service > Papago Translation > APIs, and check the client ID and client secret value.
Ensure that Papago Text Translation is selected from AI Service > Papago Translation > APIs > Edit. Note that error 429 (Quota Exceeded) will occur unless Papago Language Detection is selected.
API URL
API | Method | Request URL | Output format |
---|---|---|---|
Text translation API | POST | https://naveropenapi.apigw.ntruss.com/nmt/v1/translation | JSON |
Request headers
Header | Description |
---|---|
X-NCP-APIGW-API-KEY-ID | Client ID issued when registering the appX-NCP-APIGW-API-KEY-ID:{Client ID} |
X-NCP-APIGW-API-KEY | Client secret issued when registering the appX-NCP-APIGW-API-KEY:{Client Secret} |
Errors
{
"error": {
"errorCode": "300",
"message": "Not Found Exception"
}
}
Common errors
HttpStatusCode | ErrorCode | ErrorMessage | Description |
---|---|---|---|
400 | 100 | Bad Request Exception | Request error such as protocol (https) or encoding (UTF-8) |
401 | 200 | Authentication Failed | Authentication failed |
401 | 210 | Permission Denied | No permission |
404 | 300 | Not Found Exception | No permission |
429 | 400 | Quota Exceeded | Quota exceeded |
429 | 410 | Throttle Limited | Rate exceeded |
429 | 420 | Rate Limited | Rate exceeded |
413 | 430 | Request Entity Too Large | content-length exceeded (10 MB) |
503 | 500 | Endpoint Error | Endpoint connection error |
504 | 510 | Endpoint Timeout | Endpoint connection time limit exceeded |
500 | 900 | Unexpected Error | Error without exception handling |
API errors
HttpStatusCode | ErrorCode | ErrorMessage | Description |
---|---|---|---|
400 | N2MT01 | source parameter is needed | The source parameter is required. |
400 | N2MT02 | Unsupported source language | This is an unsupported source language. |
400 | N2MT03 | target parameter is needed | The target parameter is required. |
400 | N2MT04 | Unsupported target language | This is an unsupported target language. |
400 | N2MT05 | source and target must be different | Source and target languages are the same |
400 | N2MT06 | There is no source-to-target translator | No source-to-target translator |
400 | N2MT07 | text parameter is needed | Text parameter required |
400 | N2MT08 | text parameter exceeds max length | The text parameter exceeds the maximum capacity. |
400 | N2MT09 | language detection failed | Language detection failed |
400 | N2MT10 | invalid glossary key | Invalid glossary key |
500 | N2MT99 | Internal server errors | Internal server error |
Was this article helpful?