cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Issue ThingWorx Flow CLI

cirver
4-Participant

Issue ThingWorx Flow CLI

Hi

 

I'm learning the development of Thingworx Flow SDK recently,and now I am creating Gmail Authentications.

When I execute the command 'flow test oauth <oauth-name>' ,an error occurred:

cirver_0-1582167639857.png

command text:

flow test oauth Gmail-GmailOAuth -f C:\twxconnector\test\testOauthData.json -t "Test Gmail Oauth"

nginx log:

cirver_1-1582168032613.png

fiddler:

de2e2d866b243d93f7472de8c689f85.png

 

refer doc:

http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FIntegration_Orchestration%2FConnectorDevelopmentSDK%2FTwxFlowConnectors.html%23

 

Thinks

3 REPLIES 3
raluca_edu
17-Peridot
(To:cirver)

Hi,

 

Did you deploy that Gmail Oauth first?

 

Thanks,

Raluca Edu

cirver
4-Participant
(To:raluca_edu)

Thank you Raluca Edu,but the help document says that it can be tested before deployment.

And it still doesn't work after I deploy it. ---- same error message

cirver_0-1582255410240.png

In addition,I can't find the section "Configuration for Testing OAuths and Triggers" and the file with the path '.flow\\flow.json'

cirver_1-1582255449634.png

my home directory:

cirver_0-1582257068274.png

 

gnandyala
13-Aquamarine
(To:cirver)

Hi criver,

 

Can we have a look at your flow.json file

Announcements

Top Tags