Skip to content

Incorrect request body: (request body).options.duplex #10

Description

@norbertbede
com.printnode.api.APIException: 
API response error found with status code:400
The response content was this:{
  "code": "BadRequest",
  "message": "Incorrect request body: (request body).options.duplex must be one of the following values: \"one-sided\", \"long-edge\", \"short-edge\"",
  "uid": "723cc8c0-114f-484f-b588-524d7698751d"
}


	at com.printnode.api.APIClient.checkResponseForExceptions(APIClient.java:879)
	at com.printnode.api.APIClient.responseToJsonElement(APIClient.java:156)
	at com.printnode.api.APIClient.createPrintJob(APIClient.java:446)
	at providerImpl.Service.print(Service.java:63)
	at providerImpl.PrintNodeImpl.run(PrintNodeImpl.java:186)
	at de.schoenbeck.serverprint.work.Copy.lambda$0(Copy.java:304)
	at java.base/java.util.Optional.ifPresentOrElse(Optional.java:201)
	at de.schoenbeck.serverprint.work.Copy.print(Copy.java:302)
	at de.schoenbeck.serverprint.work.Copy.execute(Copy.java:164)
	at de.schoenbeck.serverprint.work.ServerPrintWorker.start(ServerPrintWorker.java:134)
	at de.schoenbeck.serverprint.entry.ServerPrintProcess.doIt(ServerPrintProcess.java:87)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:256)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:164)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:173)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:140)
	at org.compiere.model.MProcess.startClass(MProcess.java:470)
	at org.compiere.model.MProcess.processIt(MProcess.java:373)
	at org.compiere.model.MProcess.processItWithoutTrxClose(MProcess.java:611)
	at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:1238)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:927)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:422)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:279)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:314)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:944)
	at org.compiere.wf.MWFProcess.startNext(M

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions