on 2022 Sep 15 2:55 AM
Dear Experts,
Hello, I am having a problem using Contract Workspace API to create Contract workspace.
Contract workspace cannot be created due to errorCode: 400004; message: "[No template exists with the given template ID: CWxxxxxxx]"
The problem was created following the steps below:
#1 Confirm valid template id from Ariba homepage > Contracts > Manage > Templates > … > {target template} and copy template id from "Properties - ID"
#2 Acquire Oauth token (access_token)
#3 Input content from "body2.txt" into request body
#4 Input the following items(key: value) into Headers:
Accept: application/json
Authorization: Bearer{access_token}
apiKey: {apiKey}
#5 Select Post as request method
#6 Set objective url as "https://openapi.ariba.com/api/retrieve-contract-workspaces/v1/prod/contractWorkspaces?user={user}&passwordAdapter=PasswordAdapter1ℜm={realm}"
#7 Send the request
The expectations are:
① Contract workspace be created without any problem in the respond
The incident is:
① 400 respond with the following body:
"errorCode": "400004",
"message": "[No template exists with the given template ID: CWxxxxxxx]"
Please find body2.txt file mentioned above attached with captures of error.
It would be kind of you to let me know how did the incident happen and what is the resolution.
Kind Regards
Han
Request clarification before answering.
Dis you solve this issue?
I´m stuck in the same point
It seems weird.
I retrieve an existing CW, and I copy the TemplateID.
Then I try to create a new CW with the same TemplateId and I get the following error:
[ { "errorCode": "400004", "message": "[No template exists with the given template ID: CWXXXXX]" }]You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.