Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Custom connector API call returning error because of variables

I have a custom connector that uses variables that are initialized when a file is created.

All variables are set to String, but when the connector executes the API call I get the error: 

"The \"path\" argument must be of type string. Received type undefined"
This is caused by the folderPath variable, for some reason its being set to undefined...any ideas? 
Edit: my nodejs code uses path module to join folderpath
Community Support
Community Support

Re: Custom connector API call returning error because of variables

Hi @TiagoSa ,


Could you please share a full screenshot of the configuration of your flow?


Best regards,



Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,669)