moltzaum opened a new issue #3168: Cannot update current user with curl URL: https://github.com/apache/trafficcontrol/issues/3168 I am running into issues updating the current user with curl. The payload I am using has all the required fields, but errors are still returned. I was able to update the current user with traffic portal successfully. Traffic portal uses POST `/user/current/update` instead of PUT `/user/current`, but they work the same since the routes use the same subroutine. Starting CIAB I used to get this: > trafficops-perl_1 | + exec tail -f /var/log/traffic_ops/traffic_ops.log > trafficops-perl_1 | [2018-12-27 20:46:01,718] [ERROR] Can't use an undefined value as a HASH reference at /opt/traffic_ops/app/lib/API/User.pm line 606. > trafficops-perl_1 | [2018-12-27 20:46:01,730] [ERROR] I updated my rpm and no longer get this error but when I first ran into it, it seemed related. This is what I'm seeing pretty much: `curl -XPUT --cookie $mc -Lvsk https://localhost:6443/api/1.3/user/current -d @user.json | jq` ```json { "alerts": [ { "level": "error", "text": "fullName is required" }, { "level": "error", "text": "email is required" }, { "level": "error", "text": "role is required" }, { "level": "error", "text": "username is required" } ] } ``` Since I do not get any errors with traffic portal, it seems the issue might be with my environment somehow.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
