Oh you suggested s3://dev/cog.tif so I needed to change url when creating the coverage store, I didn't realize my bad. Okay it fully works now :)
Thank you po 15. 5. 2023 o 12:27 Marek Kadlečík <marekkadleci...@gmail.com> napísal(a): > Hello, > sorry for the late reply, the email fell into spam :/ > Yeah, we just figured out on GitHub that this helps ( > https://github.com/geosolutions-it/imageio-ext/issues/223). Currently I'm > struggling with the REST API http request payload. When I create a Coverage > Store through GUI, it works fine, I can create Layers further. However, > when I create a Coverage Store through the REST API and then try to create > Coverage, I'm getting an error: > > software.amazon.awssdk.services.s3.model.S3Exception: The specified bucket > is not valid. (Service: S3, Status Code: 400, Request ID: 175F488EDA855F9A). > > I'm calling POST > /rest/workspaces/{workspace_name}/coveragestores/{store_name}/coverages?recalculate=nativebbox > with payload > <coverage><name>{layer_name}</name><title>{_type + "_" + layer_name} > </title><srs>{projection}</srs></coverage> > > Should I add some additional fields to the payload ? > > Marek >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users