Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


GMichels
2016-09-09T18:52:06Z
Hi

Running VisualCron 8.1.2 and I am trying a PUT with a JSON body and the server is returning with a 422.

Endpoint: https://synthetics.newre...tors/<redacted_id> 
Headers:
  • Content-type: application/json
  • X-Api-Key: <redacted key>

Raw body:
{
    "frequency": 15,
    "locations": [
        "AWS_US_EAST_1"
    ],
    "name": "Monitor Namer",
    "status": "enabled",
    "type": "SCRIPT_BROWSER"
}

And the response:
Exception in Task: Unhandled errors
{"errors":[]}Error getting HTTP response: The remote server returned an error: (422).

A GET to the same endpoint works fine, which is just to get the details, however I need to modify something and that is only done via PUT. I am able to perform the PUT operation in cURL or Postman.

Anyone else with the same issue?
Sponsor
Forum information
Support
2016-09-12T08:40:51Z
Hi, is it possible that you could send a real world sample to support@visualcron.com - this would help us a lot.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2016-09-12T09:29:10Z
I see now that we have fixed an issue for PUT in 8.2.0. Can you please try this version: http://www.visualcron.co....aspx?g=posts&t=6772 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
GMichels
2016-09-13T12:47:45Z
The fix in 8.2.0 indeed does the trick.

Thank you
Support
2016-09-13T12:58:41Z
Thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top