'{' ('7B'X) is not a valid teradata sql token

Database

'{' ('7B'X) is not a valid teradata sql token

Hi,

I am using ADO DB activeX object to connect to TeraData database from javascript.

I am able to connect to the database using ODBC, and also execute simple SQL queries on the desired table.

However, when I call a stored procedure to fetch a user's information I get the following error message:

[NCR][ODBC Teradata Driver][Teradata database] '{' ('7B'X) is not a valid teradata sql token.

When checked on the server side, the command to call the SP is receiving an extra pair of braces ({ }) around the command and hence it fails.

Could anyone help me out to resolve this issue.

Any help would be much appreciated.

Thanks in advance.

Regards!