How to Handle Blank Request Header with Rest API calls in WCF

311 Views Asked by At

One of my client is getting error message "The message with To 'http://XXXXXX/api/XXX/XXXX.svc/REST/Anonymous/XXXX/XXXX' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree." and scenario was when client send a request where Request header body was empty with post call then we got this message. Now we need to handle this exception and need to change error message. Please find below for example

Click here for sample request

0

There are 0 best solutions below