Describe the bug
When running
hydra clients create
i get an error
Command failed because error occurred: invalid character 'p' after top-level value
To Reproduce
Steps to reproduce the behavior:
hydra client create after making the binary executableExpected behavior
Should receive information about necessary flags required to run the command instead of the error.
Screenshots

Version:
Additional context
Surprisingly, hydra clients delete and hydra clients get work as expected.
Admin URL should be 4445
On 20. Dec 2018, at 00:33, sumeet jain notifications@github.com wrote:
Describe the bug
When running
hydra clients create
i get an error
Command failed because error occurred: invalid character 'p' after top-level valueTo Reproduce
Steps to reproduce the behavior:Download hydra binary for darwin-amd64 and version:1.0.0-rc.5+oryOS.10
Set environment variable 'HYDRA_ADMIN_URL' to http://localhost:4444/
Run hydra client create after making the binary executable
See error described above
Expected behavior
Should receive information about necessary flags required to run the command instead of the error.Screenshots
Version:
Environment: macOS High Sierra
Version: 10.13.6
Additional context
Surprisingly, hydra clients delete and hydra clients get work as expected.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Yes, I figured that part. But when we provide public hydra URL, this error is due to JSON parsing. I guess the method looks for JSON in the response body but gets 404 code instead. A more helpful error message can be something like "You are providing public URL for an Admin Command"
The router now returns a JSON response when application/json was requested!
Most helpful comment
Admin URL should be 4445