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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

Attachment uploaded to problem report from Windchill rest calls (WRS) are not able to open/Download

MMK_12345
7-Bedrock

Attachment uploaded to problem report from Windchill rest calls (WRS) are not able to open/Download

Version: Windchill 12.0

 

Use Case: We are creating problem report from The Thingworx custom application as there are few custom attributes. We are able to create the problem report also the attachment is able to attach in that newly created Problem report. But when we try to open that attachment, it is giving us below error but we are able to see that attachment in attachment tab - "java.nio.file.FileSystemException: \\THSWCQAN1SRVR\pdmlinkvault\pdmlinkvault_Folder_829\00000002098885: The user name or password is incorrect. Nested exception is: java.nio.file.FileSystemException: \\THSWCQAN1SRVR\pdmlinkvault\pdmlinkvault_Folder_829\00000002098885: The user name or password is incorrect."


Description:

We are creating the problem report along with its attachments from Thingworx custom application using the Windchill Rest Services. Problem report generated successfully along with its attachments is showing in attachments tab in windchill. But when we try to open that attachment, it is giving the error HTTP 500 - Content file not found. From the rest response, it is showing status code 200. Attaching the code along with its responses. Is there is some permissions needs to provide while attaching the document? Please schedule a call if having questions related to problem.
ACCEPTED SOLUTION

Accepted Solutions

Hello Catalina,

 

I have got the solution. I was passing wrong file id. So it was not able to download or view the file.

 

Regards,

Mayur Kulkarni

View solution in original post

2 REPLIES 2

Hi @MMK_12345 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant, for example:

  • Have you verified that the user credentials used in the ThingWorx application have the necessary permissions to access the vault where the attachments are stored?
  • Is the vault path correctly configured in Windchill and accessible from the server where ThingWorx is running?
  • Can you provide more details or a screenshot of the exact error message when trying to open the attachment?

Best regards,


Catalina
PTC Community Moderator
PTC

Hello Catalina,

 

I have got the solution. I was passing wrong file id. So it was not able to download or view the file.

 

Regards,

Mayur Kulkarni

Announcements

Top Tags