Custome action with api

when i run the custom action in the server i am getting error