on 12-15-2016 7:14 AM
In the last part of the trail, while creating a new Trigger. If i try to run the cURL command curl --insecure --verbose --header "Authorization: Bearer fcd0e4aa-0226-4668-96ff-8a5281e2154e" --header "Content-Type: application/json" https://localhost:9002/personalizationwebservices/v1/catalogs/electronicsContentCatalog/catalogVersi... --request POST --data '{"type" : "userGroupTriggerData","code" : "newUserGroupTrigger"}'
where fcd0e4aa-0226-4668-96ff-8a5281e2154e is the token I am getting an output as (refer image)
"errors" : [ { "message" : "Access token expired: fcd0e4aa-0226-4668-96ff-8a5281e2154e", "type" : "InvalidTokenError" } ]
Link for the trail : https://help.hybris.com/6.2.0/hcd/d493b645afb74c439a15fc6fbc78c8f9.html#copyd493b645afb74c439a15fc6f...
Can anyone help me find a solution to this. Thanks
You have to generate fresh token and pass to your request. As every token has validity.
Thanks, Jayant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.