Error while using Postman to get Sentinel-1 data

Hi, I’m using Postman according to the documentation here, here, and here.

I would like to download GeoTIFF of Sentinel-1 VV in SIGMA0 units, according to the predefined geometry.

This is what I imported to Postman.

curl -X POST
https://services.sentinel-hub.com/api/v1/process
-H 'Authorization: Bearer ’
-H ‘Accept: application/tar’
-F 'request={
“input”: {
“bounds”: {
“properties”: {
“crs”: “http://www.opengis.net/def/crs/OGC/1.3/CRS84
},
“geometry”: {
“type”: “Polygon”,
“coordinates”: [
[
[
-94.04798984527588,
41.7930725281021
],
[
-94.04803276062012,
41.805773608962869
],
[
-94.06738758087158,
41.805901566741308
],
[
-94.06734466552735,
41.7967199475024
],
[
-94.06223773956299,
41.79144072064381
],
[
-94.0504789352417,
41.791376727347969
],
[
-94.05039310455322,
41.7930725281021
],
[
-94.04798984527588,
41.7930725281021
]
]
]
}
},
“data”: [
{
“type”: “sentinel-1-grd”,
“dataFilter”: {
“timeRange”: {
“from”: “2022-01-01T00:00:00Z”,
“to”: “2022-01-11T23:59:59Z”
}
},
“processing”: {
“orthorectify”: “true”,
“backCoeff”: "SIGMA0_ELLIPSOID "
}
}
]
},
“output”: {

    "responses": [
        {
            "identifier": "s1_rtc_VV_area",
            "format": {
                "type": "image/tiff"
            }
        },

        }
    ]
}

}’
-F ‘evalscript=//VERSION=3
function setup() {
return {
input: [“VV”],
output: [{ id:“s1_rtc_VV_area”, bands: 1, sampleType: “FLOAT32”}]
}
}
function evaluatePixel(samples) {
return {
s1_rtc_VV_area: [samples.VV]
}
}’

Then I get this error:

{"error":{"status":400,"reason":"Bad Request","message":"Request payload invalid: Cannot deserialize value of type com.sinergise.sentinel.s1.S1Constants$BackscatterCoefficient from String \"SIGMA0_ELLIPSOID\": not one of the values accepted for Enum class: [BETA0, GAMMA0_ELLIPSOID, GAMMA0_TERRAIN, SIGMA0_ELLIPSOID]\n at [Source: (String)\"{\n \"input\": {\n \"bounds\": {\n \"properties\": {\n \"crs\": \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\"\n },\n\t\t\t\"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n -94.04798984527588,\n 41.7930725281021\n ],\n [\n -94.04803276062012,\n \"[truncated 1704 chars]; line: 60, column: 13] (through reference chain: com.sinergise.sentinel.api.process.request.ProcessRequestBase[\"input\"]->com.sinergise.sentinel.api.process.request.Input[\"data\"]->java.util.ArrayList[0]->com.sinergise.sentinel.api.process.dataset.S1Collection[\"processing\"]->com.sinergise.sentinel.api.process.dataset.processing.S1Processing[\"backCoeff\"])","code":"COMMON_BAD_PAYLOAD"}}

Hey,
the error is mentioning something being wrong with the backscatter coefficient value. On closer look I see that there is an extra space at the end of the value for the backCoeff parameter
"SIGMA0_ELLIPSOID ".

The extra space (from the provided value) not being present in the error makes it a bit harder to spot the issue, sorry for that.

Please remove the space and try again. Please do tell if there is still any issue.

Cheers.

oh… I didn’t notice that… thanks