hi; did you check this? http://osgeo-org.1560.x6.nabble.com/Problem-with-RESTful-creation-of-layers-based-on-Postgis-tables-td3790217.html
it's a little bit old but maybe there's a problem with the name of the table using the wrong case...check the name being sent in the POST... Chris Vradis <[email protected]> escreveu no dia terça, 26/05/2020 à(s) 23:40: > Hi, > Is there a maximum limit of characters a layer name must have in > Geoserver? > > I tried to publish a PostGIS table with a name 59 characters long (via > REST with PHP and curl) and got the message: > "org.springframework.web.util.NestedServletException: Request processing > failed; nested exception is org.geoserver.rest.RestException 400 > BAD_REQUEST: Trying to create new feature type inside the store, but no > attributes were specified” > When I truncated the table name in PostGIS to 57 characters the layer was > published. > > When I use the web interface to publish the 59 character name, no such > problem occurs. > > If the length of the name is irrelevant I should look into sth else. > > Thanks in advance > > Chris > > _______________________________________________ > 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 > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- www.vfonsecaz.pt
_______________________________________________ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
