How to fix the Oracle error ORA-02225: only EXECUTE and DEBUG privileges are valid for procedures?

In this post, you’ll learn more about the Oracle ErrorORA-02225: only EXECUTE and DEBUG privileges are valid for procedures with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-02225: only EXECUTE and DEBUG privileges are valid for procedures

Reason for the Error ORA-02225: only EXECUTE and DEBUG privileges are valid for procedures

An attempt was made to grant or revoke an invalid privilege on a procedure, function or package.

How to fix the Error ORA-02225: only EXECUTE and DEBUG privileges are valid for procedures ?

You can fix this error in Oracle by following the below steps

Do not attempt to grant or revoke any privilege besides EXECUTE or DEBUG on procedures, functions or packages.