Json Api Text Url issue
- David_MartinsOP 1
Hi all,
While doing some tests on daml hub exercising choices on contracts, I’ve discovered that a text field with a url errors if it contains query params. On further investigation I attempted exercising the same errored choice on a postman request as this example:
{ "contractId": "00a69136c6ed6f30d7cea62ccea61c8d3a3e42ce63fd115bb6fef9ff058cb8a301", "templateId": "TestContract", "choice": "ExerciseChoice", "argument": { "url": "http://foo-bar.com/?ID=18314" } }and the response I received was the following:
<!doctype html> <meta charset="utf-8"> <meta name=viewport content="width=device-width, initial-scale=1"> <title>502</title>502 Bad GatewayCan you help me in identifying the root cause of this issue?
Thank you in advance
- dtanabe
Sorry about this! This particular command was flagged by our firewall as potentially malicious, but this issue should now be resolved.