Skip to main content
7-Bedrock
April 16, 2025
Solved

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

  • April 16, 2025
  • 1 reply
  • 1454 views

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.
Best answer by MMK_12345

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

1 reply

Catalina
Community Moderator
April 29, 2025

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
MMK_123457-BedrockAuthorAnswer
7-Bedrock
April 30, 2025

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