You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing has changed in my scripts and the output looks the same as existing item json files. I understand that it's a constraint on the pgstac side, but I've tried removing start/end time and just having datetime, no date. nothing works. Here's a basic file:
Edited: Just to make sure my stac item was fine, I created a new temporary collection and posted the item no problem.
The only solution I can think to do is proceed with creating my items and saving to file. Grab my back up item json files, delete the collection, create a new, and post both the existing and new items together.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here is a link to a thread I started stac3698 channel.
I am adding new items to an existing collection but get this error:
{ "code": "CheckViolationError", "description": "new row for relation \"_items_2\" violates check constraint \"_items_2_dt\"\nDETAIL: Failing row contains (N069E285_2025_DEM_Phase3_cog.tif, 0103000020E6100000010000000500000087DF74E4CA3155C04A0551A1382C43..., dem-phase3, 2025-03-03 00:00:00+00, 2025-03-08 00:00:00+00, {\"bbox\": [-84.77800856984514, 38.3454782147988, -84.760390309226..., null)." }Nothing has changed in my scripts and the output looks the same as existing item json files. I understand that it's a constraint on the pgstac side, but I've tried removing start/end time and just having datetime, no date. nothing works. Here's a basic file:
Edited: Just to make sure my stac item was fine, I created a new temporary collection and posted the item no problem.
The only solution I can think to do is proceed with creating my items and saving to file. Grab my back up item json files, delete the collection, create a new, and post both the existing and new items together.
Beta Was this translation helpful? Give feedback.
All reactions