Four Stars

[Talend ESB]Web Service REST:Can't Insert A New Category In Prestashop

Hello,
 I'm new in Talend ESB and I'm trying to insert a new category in Prestashop backend using tRestClient component.
 As a response of the web service, I get a 400 error : Bad Request.
 The fields I filled for my request are : 
 

id_parent
id_shop_default
is_root_category
name
link_rewrite
description 


PS : The parent category already exists in the system.
 
 
Thank you in advance for your inputs and help.
2 REPLIES
One Star

Re: [Talend ESB]Web Service REST:Can't Insert A New Category In Prestashop

Have you been able to solve your issue, please ?
I'm facing the same problem.
PS : I tried to insert only the required information (those required when we try to create a category from backend but it didn't work Smiley Sad).
Thank you in advance for your reply.
One Star

Re: [Talend ESB]Web Service REST:Can't Insert A New Category In Prestashop

Hello
any information in the tesb.log file? What is the request (and headers) you use to invoke the service?
g.