Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Function strange behavior when invoked via API gateway — Cloud Customer Connect
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

Question
1
Views
0
Comments
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!