I'm a robot framework newbie. I'm trying everything I can possible think of but for some reason I'm still unable to get the correct result. I'm trying to use the combination of Rest and RestInstance library to create session for a website then log API's response.
When I use the following method, I got this error.
15:52:15.075 FAIL ValueError: need more than 1 value to unpack
Get User API Response
${auth}= Create List ${example_email} ${pwd}
Create Session a website/api/sign_in ${headers} 123 ${auth}
When I use this method I cannot successfully create an active session with account log-in thus return incorrect info.
${headers}= Create Dictionary csrf_token=123
Create Session a website/api/sign_in ${headers} 123 ${auth}
Rest.Get website/api/sign_in
Rest.Output response
I'm not understanding what I did wrong. If anyone could point the right directions with be gratefully appreciated.