# CallStoredProcedure: Stored proc or function could not be found in Jitterbit: cause and fix

Source page: https://ipaaserrors.com/jitterbit/callstoredprocedure-stored-proc-not-found
Platform: Jitterbit · Scripting (PostgreSQL)
Checked against vendor docs: 2026-11-25

This error means CallStoredProcedure was used to call a PostgreSQL function as if it were a procedure. Use DBExecute with SELECT for functions, and CALL for procedures.

## Error text

```
CallStoredProcedure failed to execute call "<function-name>". java.sql.SQLException: Stored proc or function could not be found
```

## Likely causes

- A PostgreSQL function is called as a stored procedure.

## How to fix it

1. For a PostgreSQL function, use `DBExecute` with `SELECT`.
2. For a procedure, use `DBExecute` with `CALL`.

## Sources

- [Operation troubleshooting](https://docs.jitterbit.com/integration-studio/troubleshooting/operation/)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/jitterbit/callstoredprocedure-stored-proc-not-found and the vendor documentation above.
