You may experience problems when executing actions with the MetaServlet API in the Talend Administration Center using the MetaServletCaller.sh or MetaServletCaller.bat scripts and the call doesn't work.
The error message you receive is:
Error: "error": “Username or password is wrong”,"returnCode": 3
Cause
The error arises because special characters in the username or password need to be escaped. Since JSON, the data format used by the MetaServlet API, does not support certain special characters without escaping.
Resolution
Use the control character backslash ("\") to escape special characters.
For Example
Password: passwor"d the quotation mark is the special character that needs to be escaped using a backslash.
Use passwor\"d to include the quotation mark in the password.
Related Content
For more information about Metaservlet, please check Qlik Talend Official Documentation Metaservlet