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

Unable to initialize FileRepository error while creating DataSet

jrajesh
10-Marble

Unable to initialize FileRepository error while creating DataSet

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

ACCEPTED SOLUTION

Accepted Solutions
cmorfin
19-Tanzanite
(To:jrajesh)

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

 

View solution in original post

4 REPLIES 4
cmorfin
19-Tanzanite
(To:jrajesh)

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

 

jrajesh
10-Marble
(To:cmorfin)

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.

cmorfin
19-Tanzanite
(To:jrajesh)

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

 

jrajesh
10-Marble
(To:cmorfin)

Thanks Christophe! The expiry date on the Application Key in Thingworx was indeed the problem! Issue solved.

Announcements


Top Tags