405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
36 | "outboundPropertyNames": [
37 |
38 | ],
39 | "attributes": {
40 | "headers": {
41 | "allow": "GET, HEAD",
42 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
43 | "content-type": "text/html; charset=UTF-8",
44 | "server": "gws",
45 | "content-length": "1589",
46 | "x-xss-protection": "0",
47 | "x-frame-options": "SAMEORIGIN",
48 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
49 | },
50 | "reasonPhrase": "Method Not Allowed",
51 | "statusCode": 405
52 | }
53 | },
54 | "cause": {
55 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
56 | "errorMessage": {
57 | "inboundAttachmentNames": [
58 |
59 | ],
60 | "exceptionPayload": null,
61 | "inboundPropertyNames": [
62 |
63 | ],
64 | "outboundAttachmentNames": [
65 |
66 | ],
67 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
68 | "outboundPropertyNames": [
69 |
70 | ],
71 | "attributes": {
72 | "headers": {
73 | "allow": "GET, HEAD",
74 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
75 | "content-type": "text/html; charset=UTF-8",
76 | "server": "gws",
77 | "content-length": "1589",
78 | "x-xss-protection": "0",
79 | "x-frame-options": "SAMEORIGIN",
80 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
81 | },
82 | "reasonPhrase": "Method Not Allowed",
83 | "statusCode": 405
84 | }
85 | },
86 | "cause": null,
87 | "type": "METHOD_NOT_ALLOWED",
88 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
89 | "suppressed": [
90 |
91 | ],
92 | "stackTrace": [
93 |
94 | ]
95 | },
96 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
97 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
98 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
99 | }
100 | ],
101 | "errorType": {
102 | "identifier": "COMPOSITE_ROUTING",
103 | "parentErrorType": {
104 | "identifier": "ROUTING",
105 | "parentErrorType": {
106 | "identifier": "ANY",
107 | "parentErrorType": null,
108 | "namespace": "MULE"
109 | },
110 | "namespace": "MULE"
111 | },
112 | "namespace": "MULE"
113 | },
114 | "errorMessage": {
115 | "inboundAttachmentNames": [
116 |
117 | ],
118 | "exceptionPayload": null,
119 | "inboundPropertyNames": [
120 |
121 | ],
122 | "outboundAttachmentNames": [
123 |
124 | ],
125 | "payload": {
126 | "failures": {
127 | "0": {
128 | "dslSource": "
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
156 | "outboundPropertyNames": [
157 |
158 | ],
159 | "attributes": {
160 | "headers": {
161 | "allow": "GET, HEAD",
162 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
163 | "content-type": "text/html; charset=UTF-8",
164 | "server": "gws",
165 | "content-length": "1589",
166 | "x-xss-protection": "0",
167 | "x-frame-options": "SAMEORIGIN",
168 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
169 | },
170 | "reasonPhrase": "Method Not Allowed",
171 | "statusCode": 405
172 | }
173 | },
174 | "cause": {
175 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
176 | "errorMessage": {
177 | "inboundAttachmentNames": [
178 |
179 | ],
180 | "exceptionPayload": null,
181 | "inboundPropertyNames": [
182 |
183 | ],
184 | "outboundAttachmentNames": [
185 |
186 | ],
187 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
188 | "outboundPropertyNames": [
189 |
190 | ],
191 | "attributes": {
192 | "headers": {
193 | "allow": "GET, HEAD",
194 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
195 | "content-type": "text/html; charset=UTF-8",
196 | "server": "gws",
197 | "content-length": "1589",
198 | "x-xss-protection": "0",
199 | "x-frame-options": "SAMEORIGIN",
200 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
201 | },
202 | "reasonPhrase": "Method Not Allowed",
203 | "statusCode": 405
204 | }
205 | },
206 | "cause": null,
207 | "type": "METHOD_NOT_ALLOWED",
208 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
209 | "suppressed": [
210 |
211 | ],
212 | "stackTrace": [
213 |
214 | ]
215 | },
216 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
217 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
218 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
219 | }
220 | },
221 | "failuresWithExceptionInfo": {
222 |
223 | },
224 | "results": {
225 |
226 | }
227 | },
228 | "outboundPropertyNames": [
229 |
230 | ],
231 | "attributes": null
232 | },
233 | "cause": {
234 | "verboseMessage": "\r\n********************************************************************************\r\nMessage : Exception(s) were found for route(s): \r\n\tRoute 0: org.mule.extension.http.api.request.validator.ResponseValidatorTypedException: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).\r\nElement : get:\\parallelforeach:application\\json:api-config/processors/1 @ test-error-handler:api.xml:42 (Parallel For Each)\r\nElement DSL :
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
279 | "outboundPropertyNames": [
280 |
281 | ],
282 | "attributes": {
283 | "headers": {
284 | "allow": "GET, HEAD",
285 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
286 | "content-type": "text/html; charset=UTF-8",
287 | "server": "gws",
288 | "content-length": "1589",
289 | "x-xss-protection": "0",
290 | "x-frame-options": "SAMEORIGIN",
291 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
292 | },
293 | "reasonPhrase": "Method Not Allowed",
294 | "statusCode": 405
295 | }
296 | },
297 | "cause": {
298 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
299 | "errorMessage": {
300 | "inboundAttachmentNames": [
301 |
302 | ],
303 | "exceptionPayload": null,
304 | "inboundPropertyNames": [
305 |
306 | ],
307 | "outboundAttachmentNames": [
308 |
309 | ],
310 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
311 | "outboundPropertyNames": [
312 |
313 | ],
314 | "attributes": {
315 | "headers": {
316 | "allow": "GET, HEAD",
317 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
318 | "content-type": "text/html; charset=UTF-8",
319 | "server": "gws",
320 | "content-length": "1589",
321 | "x-xss-protection": "0",
322 | "x-frame-options": "SAMEORIGIN",
323 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
324 | },
325 | "reasonPhrase": "Method Not Allowed",
326 | "statusCode": 405
327 | }
328 | },
329 | "cause": null,
330 | "type": "METHOD_NOT_ALLOWED",
331 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
332 | "suppressed": [
333 |
334 | ],
335 | "stackTrace": [
336 |
337 | ]
338 | },
339 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
340 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
341 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
342 | }
343 | },
344 | "failuresWithExceptionInfo": {
345 |
346 | },
347 | "results": {
348 |
349 | }
350 | },
351 | "outboundPropertyNames": [
352 |
353 | ],
354 | "attributes": null
355 | },
356 | "cause": null,
357 | "message": "Exception(s) were found for route(s): \r\n\tRoute 0: org.mule.extension.http.api.request.validator.ResponseValidatorTypedException: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
358 | "i18nMessage": {
359 | "code": -1,
360 | "nextMessage": null,
361 | "message": "Exception(s) were found for route(s): \r\n\tRoute 0: org.mule.extension.http.api.request.validator.ResponseValidatorTypedException: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
362 | "args": [
363 |
364 | ]
365 | },
366 | "detailedMessage": "Exception(s) were found for route(s): \r\n\r\nRoute 0: Caught exception in Exception Strategy: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
367 | "additionalInfo": {
368 |
369 | },
370 | "messageCode": -1,
371 | "suppressed": [
372 |
373 | ],
374 | "stackTrace": [
375 |
376 | ],
377 | "errors": [
378 | {
379 | "dslSource": "
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
407 | "outboundPropertyNames": [
408 |
409 | ],
410 | "attributes": {
411 | "headers": {
412 | "allow": "GET, HEAD",
413 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
414 | "content-type": "text/html; charset=UTF-8",
415 | "server": "gws",
416 | "content-length": "1589",
417 | "x-xss-protection": "0",
418 | "x-frame-options": "SAMEORIGIN",
419 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
420 | },
421 | "reasonPhrase": "Method Not Allowed",
422 | "statusCode": 405
423 | }
424 | },
425 | "cause": {
426 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
427 | "errorMessage": {
428 | "inboundAttachmentNames": [
429 |
430 | ],
431 | "exceptionPayload": null,
432 | "inboundPropertyNames": [
433 |
434 | ],
435 | "outboundAttachmentNames": [
436 |
437 | ],
438 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
439 | "outboundPropertyNames": [
440 |
441 | ],
442 | "attributes": {
443 | "headers": {
444 | "allow": "GET, HEAD",
445 | "date": "Fri, 19 Jan 2024 20:33:24 GMT",
446 | "content-type": "text/html; charset=UTF-8",
447 | "server": "gws",
448 | "content-length": "1589",
449 | "x-xss-protection": "0",
450 | "x-frame-options": "SAMEORIGIN",
451 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
452 | },
453 | "reasonPhrase": "Method Not Allowed",
454 | "statusCode": 405
455 | }
456 | },
457 | "cause": null,
458 | "type": "METHOD_NOT_ALLOWED",
459 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
460 | "suppressed": [
461 |
462 | ],
463 | "stackTrace": [
464 |
465 | ]
466 | },
467 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
468 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
469 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
470 | }
471 | ],
472 | "exceptionInfo": {
473 | "dslSource": "
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
36 | "outboundPropertyNames": [
37 |
38 | ],
39 | "attributes": {
40 | "headers": {
41 | "allow": "GET, HEAD",
42 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
43 | "content-type": "text/html; charset=UTF-8",
44 | "server": "gws",
45 | "content-length": "1589",
46 | "x-xss-protection": "0",
47 | "x-frame-options": "SAMEORIGIN",
48 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
49 | },
50 | "reasonPhrase": "Method Not Allowed",
51 | "statusCode": 405
52 | }
53 | },
54 | "cause": {
55 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
56 | "errorMessage": {
57 | "inboundAttachmentNames": [
58 |
59 | ],
60 | "exceptionPayload": null,
61 | "inboundPropertyNames": [
62 |
63 | ],
64 | "outboundAttachmentNames": [
65 |
66 | ],
67 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
68 | "outboundPropertyNames": [
69 |
70 | ],
71 | "attributes": {
72 | "headers": {
73 | "allow": "GET, HEAD",
74 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
75 | "content-type": "text/html; charset=UTF-8",
76 | "server": "gws",
77 | "content-length": "1589",
78 | "x-xss-protection": "0",
79 | "x-frame-options": "SAMEORIGIN",
80 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
81 | },
82 | "reasonPhrase": "Method Not Allowed",
83 | "statusCode": 405
84 | }
85 | },
86 | "cause": null,
87 | "type": "METHOD_NOT_ALLOWED",
88 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
89 | "suppressed": [
90 |
91 | ],
92 | "stackTrace": [
93 |
94 | ]
95 | },
96 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
97 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
98 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
99 | }
100 | ],
101 | "errorType": {
102 | "identifier": "COMPOSITE_ROUTING",
103 | "parentErrorType": {
104 | "identifier": "ROUTING",
105 | "parentErrorType": {
106 | "identifier": "ANY",
107 | "parentErrorType": null,
108 | "namespace": "MULE"
109 | },
110 | "namespace": "MULE"
111 | },
112 | "namespace": "MULE"
113 | },
114 | "errorMessage": {
115 | "inboundAttachmentNames": [
116 |
117 | ],
118 | "exceptionPayload": null,
119 | "inboundPropertyNames": [
120 |
121 | ],
122 | "outboundAttachmentNames": [
123 |
124 | ],
125 | "payload": {
126 | "failures": {
127 | "0": {
128 | "dslSource": "
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
156 | "outboundPropertyNames": [
157 |
158 | ],
159 | "attributes": {
160 | "headers": {
161 | "allow": "GET, HEAD",
162 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
163 | "content-type": "text/html; charset=UTF-8",
164 | "server": "gws",
165 | "content-length": "1589",
166 | "x-xss-protection": "0",
167 | "x-frame-options": "SAMEORIGIN",
168 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
169 | },
170 | "reasonPhrase": "Method Not Allowed",
171 | "statusCode": 405
172 | }
173 | },
174 | "cause": {
175 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
176 | "errorMessage": {
177 | "inboundAttachmentNames": [
178 |
179 | ],
180 | "exceptionPayload": null,
181 | "inboundPropertyNames": [
182 |
183 | ],
184 | "outboundAttachmentNames": [
185 |
186 | ],
187 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
188 | "outboundPropertyNames": [
189 |
190 | ],
191 | "attributes": {
192 | "headers": {
193 | "allow": "GET, HEAD",
194 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
195 | "content-type": "text/html; charset=UTF-8",
196 | "server": "gws",
197 | "content-length": "1589",
198 | "x-xss-protection": "0",
199 | "x-frame-options": "SAMEORIGIN",
200 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
201 | },
202 | "reasonPhrase": "Method Not Allowed",
203 | "statusCode": 405
204 | }
205 | },
206 | "cause": null,
207 | "type": "METHOD_NOT_ALLOWED",
208 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
209 | "suppressed": [
210 |
211 | ],
212 | "stackTrace": [
213 |
214 | ]
215 | },
216 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
217 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
218 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
219 | }
220 | },
221 | "failuresWithExceptionInfo": {
222 |
223 | },
224 | "results": {
225 | "1": {
226 | "inboundAttachmentNames": [
227 |
228 | ],
229 | "exceptionPayload": null,
230 | "inboundPropertyNames": [
231 |
232 | ],
233 | "outboundAttachmentNames": [
234 |
235 | ],
236 | "payload": {
237 |
238 | },
239 | "outboundPropertyNames": [
240 |
241 | ],
242 | "attributes": {
243 | "headers": {
244 | "content-type": "application/json",
245 | "user-agent": "PostmanRuntime/7.36.1",
246 | "accept": "*/*",
247 | "cache-control": "no-cache",
248 | "postman-token": "34a0f905-c789-4fcd-af62-b0c1a7e4c662",
249 | "host": "localhost:8081",
250 | "accept-encoding": "gzip, deflate, br",
251 | "connection": "keep-alive",
252 | "content-length": "2"
253 | },
254 | "clientCertificate": null,
255 | "method": "GET",
256 | "scheme": "http",
257 | "queryParams": {
258 |
259 | },
260 | "requestUri": "/api/scattergather",
261 | "queryString": "",
262 | "version": "HTTP/1.1",
263 | "maskedRequestPath": "/scattergather",
264 | "listenerPath": "/api/*",
265 | "relativePath": "/api/scattergather",
266 | "localAddress": "/127.0.0.1:8081",
267 | "uriParams": {
268 |
269 | },
270 | "rawRequestUri": "/api/scattergather",
271 | "rawRequestPath": "/api/scattergather",
272 | "remoteAddress": "/127.0.0.1:54902",
273 | "requestPath": "/api/scattergather"
274 | }
275 | }
276 | }
277 | },
278 | "outboundPropertyNames": [
279 |
280 | ],
281 | "attributes": null
282 | },
283 | "cause": {
284 | "verboseMessage": "\r\n********************************************************************************\r\nMessage : Exception(s) were found for route(s): \r\n\tRoute 0: org.mule.extension.http.api.request.validator.ResponseValidatorTypedException: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).\r\nElement : get:\\scattergather:application\\json:api-config/processors/1 @ test-error-handler:api.xml:52 (Scatter-Gather)\r\nElement DSL :
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
329 | "outboundPropertyNames": [
330 |
331 | ],
332 | "attributes": {
333 | "headers": {
334 | "allow": "GET, HEAD",
335 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
336 | "content-type": "text/html; charset=UTF-8",
337 | "server": "gws",
338 | "content-length": "1589",
339 | "x-xss-protection": "0",
340 | "x-frame-options": "SAMEORIGIN",
341 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
342 | },
343 | "reasonPhrase": "Method Not Allowed",
344 | "statusCode": 405
345 | }
346 | },
347 | "cause": {
348 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
349 | "errorMessage": {
350 | "inboundAttachmentNames": [
351 |
352 | ],
353 | "exceptionPayload": null,
354 | "inboundPropertyNames": [
355 |
356 | ],
357 | "outboundAttachmentNames": [
358 |
359 | ],
360 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
361 | "outboundPropertyNames": [
362 |
363 | ],
364 | "attributes": {
365 | "headers": {
366 | "allow": "GET, HEAD",
367 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
368 | "content-type": "text/html; charset=UTF-8",
369 | "server": "gws",
370 | "content-length": "1589",
371 | "x-xss-protection": "0",
372 | "x-frame-options": "SAMEORIGIN",
373 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
374 | },
375 | "reasonPhrase": "Method Not Allowed",
376 | "statusCode": 405
377 | }
378 | },
379 | "cause": null,
380 | "type": "METHOD_NOT_ALLOWED",
381 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
382 | "suppressed": [
383 |
384 | ],
385 | "stackTrace": [
386 |
387 | ]
388 | },
389 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
390 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
391 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
392 | }
393 | },
394 | "failuresWithExceptionInfo": {
395 |
396 | },
397 | "results": {
398 | "1": {
399 | "inboundAttachmentNames": [
400 |
401 | ],
402 | "exceptionPayload": null,
403 | "inboundPropertyNames": [
404 |
405 | ],
406 | "outboundAttachmentNames": [
407 |
408 | ],
409 | "payload": {
410 |
411 | },
412 | "outboundPropertyNames": [
413 |
414 | ],
415 | "attributes": {
416 | "headers": {
417 | "content-type": "application/json",
418 | "user-agent": "PostmanRuntime/7.36.1",
419 | "accept": "*/*",
420 | "cache-control": "no-cache",
421 | "postman-token": "34a0f905-c789-4fcd-af62-b0c1a7e4c662",
422 | "host": "localhost:8081",
423 | "accept-encoding": "gzip, deflate, br",
424 | "connection": "keep-alive",
425 | "content-length": "2"
426 | },
427 | "clientCertificate": null,
428 | "method": "GET",
429 | "scheme": "http",
430 | "queryParams": {
431 |
432 | },
433 | "requestUri": "/api/scattergather",
434 | "queryString": "",
435 | "version": "HTTP/1.1",
436 | "maskedRequestPath": "/scattergather",
437 | "listenerPath": "/api/*",
438 | "relativePath": "/api/scattergather",
439 | "localAddress": "/127.0.0.1:8081",
440 | "uriParams": {
441 |
442 | },
443 | "rawRequestUri": "/api/scattergather",
444 | "rawRequestPath": "/api/scattergather",
445 | "remoteAddress": "/127.0.0.1:54902",
446 | "requestPath": "/api/scattergather"
447 | }
448 | }
449 | }
450 | },
451 | "outboundPropertyNames": [
452 |
453 | ],
454 | "attributes": null
455 | },
456 | "cause": null,
457 | "message": "Exception(s) were found for route(s): \r\n\tRoute 0: org.mule.extension.http.api.request.validator.ResponseValidatorTypedException: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
458 | "i18nMessage": {
459 | "code": -1,
460 | "nextMessage": null,
461 | "message": "Exception(s) were found for route(s): \r\n\tRoute 0: org.mule.extension.http.api.request.validator.ResponseValidatorTypedException: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
462 | "args": [
463 |
464 | ]
465 | },
466 | "detailedMessage": "Exception(s) were found for route(s): \r\n\r\nRoute 0: Caught exception in Exception Strategy: HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
467 | "additionalInfo": {
468 |
469 | },
470 | "messageCode": -1,
471 | "suppressed": [
472 |
473 | ],
474 | "stackTrace": [
475 |
476 | ],
477 | "errors": [
478 | {
479 | "dslSource": "
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
507 | "outboundPropertyNames": [
508 |
509 | ],
510 | "attributes": {
511 | "headers": {
512 | "allow": "GET, HEAD",
513 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
514 | "content-type": "text/html; charset=UTF-8",
515 | "server": "gws",
516 | "content-length": "1589",
517 | "x-xss-protection": "0",
518 | "x-frame-options": "SAMEORIGIN",
519 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
520 | },
521 | "reasonPhrase": "Method Not Allowed",
522 | "statusCode": 405
523 | }
524 | },
525 | "cause": {
526 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
527 | "errorMessage": {
528 | "inboundAttachmentNames": [
529 |
530 | ],
531 | "exceptionPayload": null,
532 | "inboundPropertyNames": [
533 |
534 | ],
535 | "outboundAttachmentNames": [
536 |
537 | ],
538 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
539 | "outboundPropertyNames": [
540 |
541 | ],
542 | "attributes": {
543 | "headers": {
544 | "allow": "GET, HEAD",
545 | "date": "Fri, 19 Jan 2024 20:50:17 GMT",
546 | "content-type": "text/html; charset=UTF-8",
547 | "server": "gws",
548 | "content-length": "1589",
549 | "x-xss-protection": "0",
550 | "x-frame-options": "SAMEORIGIN",
551 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
552 | },
553 | "reasonPhrase": "Method Not Allowed",
554 | "statusCode": 405
555 | }
556 | },
557 | "cause": null,
558 | "type": "METHOD_NOT_ALLOWED",
559 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
560 | "suppressed": [
561 |
562 | ],
563 | "stackTrace": [
564 |
565 | ]
566 | },
567 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
568 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
569 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
570 | }
571 | ],
572 | "exceptionInfo": {
573 | "dslSource": "
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
31 | "outboundPropertyNames": [
32 |
33 | ],
34 | "attributes": {
35 | "headers": {
36 | "allow": "GET, HEAD",
37 | "date": "Fri, 19 Jan 2024 20:30:29 GMT",
38 | "content-type": "text/html; charset=UTF-8",
39 | "server": "gws",
40 | "content-length": "1589",
41 | "x-xss-protection": "0",
42 | "x-frame-options": "SAMEORIGIN",
43 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
44 | },
45 | "reasonPhrase": "Method Not Allowed",
46 | "statusCode": 405
47 | }
48 | },
49 | "cause": {
50 | "localizedMessage": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
51 | "errorMessage": {
52 | "inboundAttachmentNames": [
53 |
54 | ],
55 | "exceptionPayload": null,
56 | "inboundPropertyNames": [
57 |
58 | ],
59 | "outboundAttachmentNames": [
60 |
61 | ],
62 | "payload": "\n\n \n \n
405. That’s an error.\n
The request method POST
is inappropriate for the URL /
. That’s all we know.\n",
63 | "outboundPropertyNames": [
64 |
65 | ],
66 | "attributes": {
67 | "headers": {
68 | "allow": "GET, HEAD",
69 | "date": "Fri, 19 Jan 2024 20:30:29 GMT",
70 | "content-type": "text/html; charset=UTF-8",
71 | "server": "gws",
72 | "content-length": "1589",
73 | "x-xss-protection": "0",
74 | "x-frame-options": "SAMEORIGIN",
75 | "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
76 | },
77 | "reasonPhrase": "Method Not Allowed",
78 | "statusCode": 405
79 | }
80 | },
81 | "cause": null,
82 | "type": "METHOD_NOT_ALLOWED",
83 | "message": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
84 | "suppressed": [
85 |
86 | ],
87 | "stackTrace": [
88 |
89 | ]
90 | },
91 | "description": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
92 | "detailedDescription": "HTTP POST on resource 'https://www.google.com' failed: method not allowed (405).",
93 | "failingComponent": "api_requestError/processors/0 @ test-error-handler:api.xml:26 (POST Google)"
94 | }
95 | ]
--------------------------------------------------------------------------------
/src/test/resources/examples/ValidationModuleError.json:
--------------------------------------------------------------------------------
1 | {
2 | "dslSource": "