cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Error generating REST API ECR in Windchill 12.0

TH_10814171
2-Guest

Error generating REST API ECR in Windchill 12.0

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.0.0 

We are implementing ERP-PLM linkage using Windchill REST API.
On the ERP side, EngineeringChangeRequest data is configured as JSON and then executed by calling the endpoint of the Windchill REST API.
It operates without problem in Windchill 12.1, but an error occurs in Windchill 12.0.
There seems to be an issue where a problem occurs while importing the CSRF Token.

Here are the errors that I faced
When running on HTTP:
ECR creation failed: Error: Network response was not ok

When running JavaScript (Node.js)
ECR creation failed: {
error: {
code: 'OPERATION_NOT_SUPPORTED',
message: 'The operation is not supported'
}
}

Anyway, the situation is fine in Windchill 12.x, but the problem continues to occur in Windchill 12.0.

--------------------------------------------------------------------------------------------------------------------

Translated the text from Korean to English using google translate

 

Subject - Windchill 12.0에서 REST API를 ECR를 생성하는 과정 중 오류 발생
Body - Windchill REST API를 이용해 ERP-PLM간 연계를 구현하고 있습니다. 
ERP측에서 EngineeringChangeRequest 데이터를 JSON으로 구성한 후 Windchill REST API의 엔드포인트를 콜해 실행하고 있습니다. 
Windchill 12.1에서는 문제없이 동작하고 있으나, Windchill 12.0에서 에러가 발생하고 있습니다. 
CSRF Token을 가져오는 중간에 문게가 발생하는 이슈가 있는 것 같기도 합니다. 

Here are the errors that I faced 
HTTP에서 실행할 경우: 
ECR 생성 실패: Error: Network response was not ok 

JavaScript를 실행할 경우 (Node.js) 
ECR 생성 실패: { 
error: { 
code: 'OPERATION_NOT_SUPPORTED', 
message: 'The operation is not supported' 



아무튼, Windchill 12.x에서는 문제없는 상황이나, Windchill 12.0에서 문제가 지속적으로 발생하고 있습니다.

 - By Community Moderation Team
--------------------------------------------------------------------------------------------------------------------

1 REPLY 1

Hi TH_10814171,

Thank you for your question. 
I’d like to recommend to bring more details and context to your initial inquiry

It also helps to have screenshot(s) to better understand what you are trying to do in your process. 

This will increase your chances to receive meaningful help from other Community members. 

Regards,

Community Moderation Team.

Top Tags