Skip to content

Instantly share code, notes, and snippets.

@roquie
Created August 3, 2017 19:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save roquie/bfc8c0212765d3234861a4197292f05a to your computer and use it in GitHub Desktop.
{
"serviceName": "M2MSIMCardLimitList",
"errorCode": "12546304",
"userMessage": "Недостаточно прав для доступа к выбранной функции",
"developerMessage": "com.peterservice.openapi.m2m.backend.exceptions.PermissionException: \n\tat com.peterservice.openapi.m2m.backend.camel.InitProcessor.process(InitProcessor.java:90)\n\tat org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)\n\tat org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)\n\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:118)\n\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:80)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)\n\tat org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)\n\tat org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)\n\tat org.apache.camel.component.restlet.RestletConsumer$1.handle(RestletConsumer.java:55)\n\tat org.apache.camel.component.restlet.MethodBasedRouter.handle(MethodBasedRouter.java:54)\n\tat org.restlet.routing.Filter.doHandle(Filter.java:159)\n\tat org.restlet.routing.Filter.handle(Filter.java:206)\n\tat org.restlet.routing.Router.doHandle(Router.java:431)\n\tat org.restlet.routing.Router.handle(Router.java:648)\n\tat org.restlet.routing.Filter.doHandle(Filter.java:159)\n\tat org.restlet.routing.Filter.handle(Filter.java:206)\n\tat org.restlet.routing.Router.doHandle(Router.java:431)\n\tat org.restlet.routing.Router.handle(Router.java:648)\n\tat org.restlet.routing.Filter.doHandle(Filter.java:159)\n\tat org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)\n\tat org.restlet.routing.Filter.handle(Filter.java:206)\n\tat org.restlet.routing.Filter.doHandle(Filter.java:159)\n\tat org.restlet.routing.Filter.handle(Filter.java:206)\n\tat org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)\n\tat org.restlet.Component.handle(Component.java:392)\n\tat org.restlet.Server.handle(Server.java:516)\n\tat org.restlet.engine.ServerHelper.handle(ServerHelper.java:72)\n\tat org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:152)\n\tat org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1089)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:731)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:162)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat com.peterservice.tomcat.MdcRequestFilter.doFilter(MdcRequestFilter.java:67)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat ch.qos.logback.classic.helpers.MDCInsertingServletFilter.doFilter(MDCInsertingServletFilter.java:49)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat com.peterservice.tomcat.AppNameFilter.doFilterWithContextSelector(AppNameFilter.java:68)\n\tat com.peterservice.tomcat.AppNameFilter.doFilter(AppNameFilter.java:86)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:200)\n\tat net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat ch.qos.logback.classic.selector.servlet.LoggerContextFilter.doFilter(LoggerContextFilter.java:69)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\n\tat ch.qos.logback.access.tomcat.LogbackValve.invoke(LogbackValve.java:256)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:745)\n",
"conflicts": null,
"internalErrors": null
}
curl -X GET \
'https://moscowm2m.megafon.ru:22022/openapi/v1/M2M/SIMCards/1512241/limits?authToken=AAACiwIVLvysXCmnF14k6.aU3mNTe.IK' \
-H 'cache-control: no-cache'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment