Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a report which I've published to the cloud. Got the gateway set up, everything seemed to be working and managed to refresh a couple of times.
Unfortunately, I can no longer refresh the report in the Cloud due to the error:
'Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.'
I am perfectly able to refresh the report in the desktop from the same data sources and I have double checked the original data source and the only field on the one side of a one to many relationship is perfectly unique.
The data source is an AWS MySQL server for which a gateway is set up and working (I can refresh other models from the same source).
I do not understand why this issue occurs and why it occurs only in the cloud and not in my desktop, any help would be greatly appreciated.
WG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @WGordon
Please correct me if I wrongly your issue .
Your data source is MySQL server and it is hosted on AWS . You created a report in Desktop and you can refresh data successfully in Desktop . Then you published the report to Service and refreshed the report in Service , but it failed , right ?
In this case , can you make sure that the gateway can connect to your data source successfully ? As we all know , that the Desktop can refresh data without gateway , but Service is not . If it is possible , can you explain what did you do to refresh on the Service?
Best Regards,
Community Support Team _ Ailsa Tao