Skip to main content
1-Visitor
February 20, 2020
Question

Issue ThingWorx Flow CLI

  • February 20, 2020
  • 1 reply
  • 1211 views

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

1 reply

17-Peridot
February 20, 2020

Hi,

 

Did you deploy that Gmail Oauth first?

 

Thanks,

Raluca Edu

cirver1-VisitorAuthor
1-Visitor
February 21, 2020

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

 

5-Regular Member
May 20, 2020

Hi criver,

 

Can we have a look at your flow.json file