MCH3601 unmonitored by HTTPAPIR4
Posted: Fri Apr 19, 2024 9:29 pm
Would anyone be able to help me understand why I'm getting this error? I didn't really change the program. Just changed the url, bearer token, and tweaked the JSON, but it's valid. The program is blowing up on the following statement:
rc = http_req( 'POST' : url : *omit : *omit : *omit : JSONsnd : 'application/json');
JSONsnd holds the following value:
[ { "key": "000194", "name": "9571-0011", "quantity": 100, "active": true,"extensionData": { "greatlakes.status": "In Transit", "greatlakes.batch": "B0000138", "greatlakes.customer": "SYSTEMS LLC"}, "tagKey": "A00000000000000000000194" } ]
Here are the log errors I'm getting:
senddoc(): entered
[ { "key": "000199", "name": "9571-0011", "quantity": 50, "active": true,"extensionData": { "greatlakes.status": "In Transit", "greatlakes.batch": "B0000143", "greatlakes.customer": "SYSTEMS LLC"}, "tagKey": "A00000000000000000000199" } ]
recvresp(): entered
HTTP/1.1 404 Not Found
Content-Length: 171
Content-Type: application/problem+json; charset=utf-8
Date: Fri, 19 Apr 2024 20:28:24 GMT
Server: Kestrel
SetError() #13: HTTP/1.1 404 Not Found
recvresp(): end with 404
recvdoc parms: identity 171
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
recvdoc(): Receiving 171 bytes.
{"$id":"1","type":"https://tools.ietf.org/html/rfc7231#sec ... itle":"Not Found","status":404,"traceId":"00-e151df5ce8be80ed03278c18a393f008-c844fdb886f585ad-00"}
Thank you.
rc = http_req( 'POST' : url : *omit : *omit : *omit : JSONsnd : 'application/json');
JSONsnd holds the following value:
[ { "key": "000194", "name": "9571-0011", "quantity": 100, "active": true,"extensionData": { "greatlakes.status": "In Transit", "greatlakes.batch": "B0000138", "greatlakes.customer": "SYSTEMS LLC"}, "tagKey": "A00000000000000000000194" } ]
Here are the log errors I'm getting:
senddoc(): entered
[ { "key": "000199", "name": "9571-0011", "quantity": 50, "active": true,"extensionData": { "greatlakes.status": "In Transit", "greatlakes.batch": "B0000143", "greatlakes.customer": "SYSTEMS LLC"}, "tagKey": "A00000000000000000000199" } ]
recvresp(): entered
HTTP/1.1 404 Not Found
Content-Length: 171
Content-Type: application/problem+json; charset=utf-8
Date: Fri, 19 Apr 2024 20:28:24 GMT
Server: Kestrel
SetError() #13: HTTP/1.1 404 Not Found
recvresp(): end with 404
recvdoc parms: identity 171
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
recvdoc(): Receiving 171 bytes.
{"$id":"1","type":"https://tools.ietf.org/html/rfc7231#sec ... itle":"Not Found","status":404,"traceId":"00-e151df5ce8be80ed03278c18a393f008-c844fdb886f585ad-00"}
Thank you.