WebRequest Activity Error
I am trying to use the web request activity to return pixel values from a map service. I am using the following uri:
https://nowcoast.noaa.gov/arcgis/rest/services/nowcoast/forecast_meteoceanhydro_sfc_ndfd_dailymaxairtemp_offsets/MapServer/identify
I am getting the following error:
The remote server returned an error: (403) Forbidden.
I can run the identify from the browser and the results are returned ok.
Thanks in advance,
Stephanie
0
-
May be an issue with the settings of that service regarding headers.
See this thread:
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=906f2000000fxUqAAI0 -
Thank you, Dan. Ah, I bet that is the problem. I had tried just a basic connection and response request in python and received the same 403 Forbidden error, so it sounds like that security issue is the culprit.
I tried another weather service in the web request activity and it worked ok. I was hoping to use the nowcoast data as it has a little more info.
Thanks again for pointing me to that post!0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare