HI, does anyone know what could this "Save Error" ...
# gd-beginners
z
HI, does anyone know what could this "Save Error" possibly be referring to?
m
Hi Zea, Note when you ask, and then you want to add more comments, please do it by reply in the same thread to have an order in our Community. Regarding the issue, I would like to ask more details, first: I can no see very well in the screenshot (no error), but I want to confirm, you mean there is an error when you save the metric? Are you able to see soem values for the both involved metric?
z
Hi Mauricio, here you go. Do let me know if you're still not able to see the error message! And yes, i'm able to see the values for the 2 involved metric, just that when i try to create this 3rd metric, it doesn't allow me to save it even though i'm not seeing any syntax error.
m
Since it is a ratio (division) can you ensure you do not have null or zero values in the metric (total_repondents). To identify the logs, could you open the Browser Console (in chrome is when you do right click and 'inspect') then go to the tab Network and try to save the metric again. There you can see the error or logs, if you provide us TraceID it will be helpful 🙂
z
I'm not sure how i can provide the TraceID, it doesn't seem like its showing any.
But let me try to identify the logs as you suggested first
oh wait its in the log, here it is
b417b76d17f2da358c8fa6ea0dd6fe75
👀 1
Hi Mauricio, i think i managed to troubleshoot it. It seems that i can't save it because they said i have an existing metric with the same name. I checked but there wasn't but nonetheless i just changed the metric's name and it works now.
1
m
Perfect, I am happy it is working 🙂 Anyway, about the log:
Copy code
"msg": "Bad Request: Entity of ID 'StockId(apiId=csat, scope=WorkspaceObjectScope(organization=23gyfs-isd, space=ed0d200bab424b55a428dadf1b9c2f16))' is already stored in database."
These errors are referring to entities existing in your GoodData organization layout (metadata), not in the datasource itself. It should be sufficient to try to create them with different ID as you did. Have nice evening (in your local time)
🙏 1