Skip to main content
Solved

Change name of dataset

  • December 23, 2021
  • 4 replies
  • 117 views

We would like to change a name of our dataset in Fusion (specifically data set id=7661001648160088 on statnett, test), but get the error message
 

[  {    "status": 400,    "message": "Either set must be populated or setNull must be true."  }]`

 

The dataset has related timeseries and asssets. What does it mean that the dataset must be populated? And what are we missing?

Best answer by Viraj Dhanusha

Hi Anders

It’s Viraj from Cognite Support and thank you for contacting us. 
I have tried to reproduce your error and I could reproduce this error when updating the dataset name as
"name": {"setNull": true} and then try to revert it back as  "name": {"setNull": false}
Have you done the same thing or was it different ?
Can we know how you tried to change the name of the Dataset?(via Fusion UI, API(Postman) or SDK)
Have you got a request-id for this error, if so please share with us.

Also can you explain what you were trying to do to the dataset name (string)? (change the name / remove name/ setting empty etc)

With regard to the meaning of the error and missing inputs, I need to come back to you with the help of the engineering.

Thanks

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+1
  • Practitioner
  • 20 replies
  • Answer
  • December 26, 2021

Hi Anders

It’s Viraj from Cognite Support and thank you for contacting us. 
I have tried to reproduce your error and I could reproduce this error when updating the dataset name as
"name": {"setNull": true} and then try to revert it back as  "name": {"setNull": false}
Have you done the same thing or was it different ?
Can we know how you tried to change the name of the Dataset?(via Fusion UI, API(Postman) or SDK)
Have you got a request-id for this error, if so please share with us.

Also can you explain what you were trying to do to the dataset name (string)? (change the name / remove name/ setting empty etc)

With regard to the meaning of the error and missing inputs, I need to come back to you with the help of the engineering.

Thanks


Hi, thanks for the reply.

I tried using Fusion, and the error is due to the requirement of both a name and description. When the description is empty (NULL), the error occurs. 

A better input check in the frontend should be implemented to fix this. Even though there is an asteriks (*) after description, its not that easy for an end user to understand the error message.

 

Thanks, 

Anders


Anita Hæhre
Seasoned Practitioner
Forum|alt.badge.img+1
  • Head of Academy and Community
  • 590 replies
  • January 6, 2022

Hi @Anders Willersrud thanks for your valuable feedback! Could I suggest you submit your suggestion for a better input check in the frontend, as an idea in the Product Feedback section here on Hub? This way other users can upvote on your idea. Ideas posted in the Product Feedback section will be fed straight to our product teams as well:)


Hi,

 

I created the suggestion here: 

 

Anders


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings