Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Function strange behavior when invoked via API gateway

edited Mar 21, 2022 12:06PM in Data Integration

Summary:

The function behavior is not consistent when I invoke it via API gateway. i have function that merges pdf and writes the merged file to a ftp location. When i test the function directly ( using the mvn clean install) via the cloud shell it works . When I invoke the same command via API gateway I see the function getting called ( so the policies are good) , but the file is not getting generated in the FTP. What could be issue?

I see the MergePDF ( last line of the code) getting printed so there is no exception as well.


Content (required):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!