14,983
edits
No edit summary |
(+ Troubleshooting: "Requested Entity Already Exists" Error When Saving Data Stores) |
||
| Line 64: | Line 64: | ||
*# Go to the API & Services page in Google Cloud Console. | *# Go to the API & Services page in Google Cloud Console. | ||
*# Search for Discovery Engine API and ensure it is enabled. | *# Search for Discovery Engine API and ensure it is enabled. | ||
=== Troubleshooting: "Requested Entity Already Exists" Error When Saving Data Stores === | |||
'''Error:''' | |||
When saving site indexing, the following error message appears<ref>[https://cloud.google.com/datastore/docs/concepts/errors Errors and Error Handling | Cloud Datastore Documentation | Google Cloud]</ref>: | |||
<pre> | |||
Failed to save sites | |||
Requested entity already exists | |||
Tracking number: <mix of English and numeric characters> | |||
</pre> | |||
'''Root Cause:''' | |||
Conflicting URL patterns exist simultaneously in "Specify URL patterns to index": | |||
<pre> | |||
example.com | |||
</pre> | |||
and | |||
<pre> | |||
''.example.com/'' | |||
</pre> | |||
These two patterns conflict with each other, causing the system to treat them as duplicate entities. | |||
'''Solution:''' | |||
Simply remove one of the patterns to resolve the issue. It's recommended to keep the broader pattern <code>''.example.com/''</code> as it already includes <code>example.com</code>. | |||
== Related Pages == | == Related Pages == | ||