Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
I am trying to create a DataSet and getting following error:
java.io.IOException: Unable to initialize FileRepository [AnalyticsUploadStorage] Unable to initialize FileRepository [AnalyticsUploadStorage] HTTP [401] : For support cases please provide this log tag: 3046a039-0295-48ee-bfcf-2db89f0c6a19
Thanks and Regards,
Jyothi
Solved! Go to Solution.
Hi
It is note clear from your last answer if you double check the configuration or not.
The fact that you were able to upload a dataset indicates that the configuration used to be ok indeed.
However application key do have an expiration date and the default is one day. So it is possible that you can upload a dataset on day 1, but fail on day 2 because the appkey expired.
It is therefore important to double check that the key is still valid.
Also since you were able to upload a dataset, could you try upload this same one again to see if it is still successful ?
Thanks
Christophe
Hi Jyothi
You are receiving a 401 error which means unauthorized.
So you should start checking the appkey used in ThingWorx Analytics Server config files ( <ThingWorxAnalyticsServer>/config/analytics-server.properties and system-environment-variable.properties) to make sure:
- it is correct
- it is not expired
- it is associated with a user who has sufficient privileges (start with Administrator)
Hope this helps
Christophe
The configurations are correct. I confirmed.
Sorry to have not mentioned this before, but 1 dataset and model has got successfully created. I am creating another dataset and it is failing this time with the given error.
Hi
It is note clear from your last answer if you double check the configuration or not.
The fact that you were able to upload a dataset indicates that the configuration used to be ok indeed.
However application key do have an expiration date and the default is one day. So it is possible that you can upload a dataset on day 1, but fail on day 2 because the appkey expired.
It is therefore important to double check that the key is still valid.
Also since you were able to upload a dataset, could you try upload this same one again to see if it is still successful ?
Thanks
Christophe
Thanks Christophe! The expiry date on the Application Key in Thingworx was indeed the problem! Issue solved.