Chef REST API changes from 11 to 12?


#1

Hello,

I have a simple php site to perform some tasks on the Chef server using its
API. That used to work well in version 11, but since I updated the server
to version 12.0.8, it sopped working. I get this error:

array:1 [▼
"error" => array:1 [▼
0 => “Invalid signature for user or client ‘sgarcia’”
]
]

My user/key should be fine since it’s the same I use for knife. I also
changed the server URL and added /organizations/myorg in my php class.

Is there anything different in the new version?

Thank you,

Sebastian Garcia

System Network Engineer

Smart Trade Technologies420 Lexington Ave. Ste. 2800-02
New York, NY 10170
212-867-4567 x90
http://www.smart-trade.net