forked from jpoehls/go-conduit
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide the response body with unsucessful responses #2
Comments
Not sure this was a complete fix. For example when running: client, err := gonduit.Dial("REDACTED", &core.ClientOptions{
APIToken: "api-REDACTED",
}) Results in the error logged to console: (*json.UnmarshalTypeError)(0xc8203d0210)(json: cannot unmarshal object into Go value of type []interface {}) This is because the response from phab is not an array: {"result":{"authentication":["..."],"signatures":["..."],"input":["..."],"output":["..."]},"error_code":null,"error_info":null} Let me know if you need more info to diagnose. I simply commented out the |
Yep, looking at the code it seems I accidentally left in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should help with debugging: etcinit/phabulous#27
The text was updated successfully, but these errors were encountered: