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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. 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
14-Alexandrite
(To:cirver)

Hi criver,

 

Can we have a look at your flow.json file

Announcements


Top Tags