https://api.clover.com/v3/merchantID/4B8BF3H7P/orders/Z00EM5WSSYEFP/line_items/1B1WP6BWXYN2T/modifiers?access_token=xyz
I am trying to add modifier to an Item, but getting file not found exception.
I altered the merchant Id and access token.
I am using the order and Line item Id which I got back as response when I created them.
java.io.FileNotFoundException: https://api.clover.com/v3/merchantID/4B8BF5NJH7P/orders/NHVB7654X2X1Y/line_items/JTEVX8FDT0P9G/modifiers?access_token=xyz
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at _jsp._sites._zsites.__0maninder_0test._pos._clover._clover__jsp._jspService(Unknown Source)
at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
at com.caucho.jsp.Page.pageservice(Page.java:578)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:134)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:192)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
at java.lang.Thread.run(Thread.java:745)
I am using it on my computer. Everything else is working like Creating order, adding line items, payments , etc . Its only "modifiers" which giving this error