Perhaps some more detail will help 🙂
I have an EmailEvent Object with 2 attributes (Received and Type).

A service is exposed for the 3rd party (in this case SendGrid) to post email events to.
Suppose they send the Type attribute as Category.
Thus I have set up the name mapping in the service to map Type to Category.

The service works fine when calling it as http://localhost:8080/AwareIM/REST/Main/SendEmailEvent?Type=open
but when using the mapping http://localhost:8080/AwareIM/REST/Main/SendEmailEvent?Category=open I get the following error:
HTTP Status 500 - Nonexistent attribute: Category
type Exception report
message Nonexistent attribute: Category
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Nonexistent attribute: Category
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618-)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
Nonexistent attribute: Category
org.openadaptor.dataobjects.FixedDOType.getAttribute(Unknown Source)
org.openadaptor.dataobjects.AbstractDataObject.setAttributeValue(Unknown Source)
com.bas.shared.domain.operation.EntityImpl.setAttributeValue(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.A(Unknown Source)
com.bas.webapp.thin.servlets.RESTServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618-)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/8.0.14 logs.
Is there something else that needs to be set up for the name mapping to work? Do I have to use custom url mapping or should the attribute name mapping work with Default URL mapping selected?
Any suggestions would really be appreciated. Thank you.