azgs / azlibrary_webclient

Client for the azlibrary_api
0 stars 1 forks source link

Uploading images error #14

Open hsnellen opened 3 months ago

hsnellen commented 3 months ago

I receive this error when uploading JPGs to the images folder:

"code": 400, "msg": "Only png/jpg/jpeg/tif/tiff files accepted for images", "links": [ { "href": "https://data.azgs.arizona.edu/api/v1/collections?help=json", "rel": "help"

Location of images I'm trying to upload can be found here: \azgs-files2\publications\oldrepository_export\azgs_reinventoryURLS\AZGeologyMagazines\RapidErosionInEmigrantCanyonChiricahuaMountainsAZ-FollowingThe2011Horseshoe2Fire\images

*Note there are two files present in that folder that are PNGs and I excluded them from the upload.

hsnellen commented 3 months ago

Wanted to note this issue came up again with these images during upload: \azgs-files2\publications\oldrepository_export\azgs_reinventoryURLS\AZGeologyMagazines\SuccessStoriesFromTheNationalGeothermalDataSystem\images

hsnellen commented 3 months ago

Same issue with: \azgs-files2\publications\oldrepository_export\azgs_reinventoryURLS\AZGeologyMagazines\TopGeology-relatedStoriesInArizona2015\images

hsnellen commented 3 months ago

Same issue with: \azgs-files2\publications\oldrepository_export\azgs_reinventoryURLS\AZGeologyMagazines\UsingTerrestrialLidarToMapAndEvaluateHazardsOfCoronadoCave,CoronadoNationalMemorial,CochiseCountyAZ\images