Closed nwspeete-ibm closed 7 years ago
From the UI I see :
2016-11-14T20:36:17.014800028Z stdout: No target set, broadcasting message to all registered devices
2016-11-14T20:36:17.180700833Z stderr: undefined:1
2016-11-14T20:36:17.180726811Z stderr: Error 401: Requires a valid appSecret header
2016-11-14T20:36:17.180735431Z stderr: ^
2016-11-14T20:36:17.180742081Z stderr:
2016-11-14T20:36:17.180748893Z stderr: SyntaxError: Unexpected token E in JSON at position 0
2016-11-14T20:36:17.180755903Z stderr: at Object.parse (native)
2016-11-14T20:36:17.180762967Z stderr: at Request.eval [as _callback](eval at
Not sure if that is a UI only issue or if it occurs in the CLI as well. Users report some success and sometimes failures from the CLI. My thought is that the Error 401: Requires a valid appSecret header is the issue. Maybe need to parse this correctly from the UI for the push package action code?
Please provide a valid AppSecret . I have tried both UI and CLI and not able to reproduce the issue .
For CLI I followed this method,
From a whisk UI user: "From the Develop Console I hit Browse Public Packages, hit the Mobile Push tile, clicked the + New Binding hexagon on the left, added my push credentials from Bluemix and saved the config, then selected the binding and hit run this action, added my values (text message content and appId) and hit run with this value." Result: "The action did not produce a valid response and exited unexpectedly."
Then from CLI the user sees: ""version": "0.0.34", "response": { "result": { "error": "Internal system error: container not ready." }, "success": false, "status": "action developer error" },". I reproduced this same error with their credentials.