Skip to main content
Feb 20, 2020 3:29 AM UTC
Question

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

Feb 20, 2020 12:59 PM UTC

Hi,

 

Did you deploy that Gmail Oauth first?

 

Thanks,

Raluca Edu

cirverAuthor
Feb 21, 2020 3:49 AM UTC

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

 

May 20, 2020 8:23 PM UTC

Hi criver,

 

Can we have a look at your flow.json file