Antonio Garcia
11/18/2024, 6:37 PMAntonio Garcia
11/19/2024, 9:36 AMveenasa garimella
12/07/2024, 4:20 AM"Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist."
I am currently using SuiteTalk REST API.
{
"item": {
"items": [
{
"itemreceive": true,
"orderLine": 1,
"quantity": 1
}
]
},
"externalid": "test123"
}
however, if I change the orderline to "2", it generates the Item Fulfillment correctly, I already looked up in the original item (line:1), but there's nothing related to that id.
the way I figured out that, was using the UI and then making a call to retrieve the Item Fulfillment and see what was different.
any suggestion? I am a bit lost on this as our Transfer order has multiple linesPF
12/16/2024, 4:12 PMTimothy
12/20/2024, 4:45 PMGrimnir09
01/14/2025, 3:47 PMquery/v1/suitql
?matt
01/16/2025, 6:30 PMPOST
to the {{REST_SERVICES}}/record/v1/advIntercompanyJournalEntry
endpoint as shown in the docs here. After working through some errors around permissions I am now only getting a very non-descript INVALID_CONTENT
error. I validated that I have all the required fields by creating a record in the UI and setting all of the same data in my request body below:
{
"trandate": "2025-01-16",
"subsidiary": {
"id": "1"
},
"currency": {
"id": "1"
},
"memo": "testmemo",
"lines": [
{
"account": {
"id": "552"
},
"entity": {
"id": "322"
},
"debit": 10,
"eliminate": true,
"lineSubsidiary": {
"id": "3"
},
"department": {
"id": "1"
}
},
{
"account": {
"id": "482"
},
"entity": {
"id": "1440"
},
"credit": 1000,
"eliminate": true,
"lineSubsidiary": {
"id": "3"
},
"department": {
"id": "1"
}
},
{
"account": {
"id": "111"
},
"entity": {
"id": "1440"
},
"debit": 1000,
"eliminate": true,
"lineSubsidiary": {
"id": "6"
},
"department": {
"id": "1"
}
},
{
"account": {
"id": "551"
},
"entity": {
"id": "319"
},
"credit": 1000,
"eliminate": true,
"lineSubsidiary": {
"id": "6"
},
"department": {
"id": "1"
}
}
]
}
I am receiving this error:
{
"type": "<https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1>",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Invalid content in the request body.",
"o:errorCode": "INVALID_CONTENT"
}
]
}
I don’t think there is any issue in my json formatting although I could be wrong. I also tested by removing the entire lines
array and then I get the below error so I do not think is is a permissions issue:
{
"type": "<https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1>",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Error while accessing a resource. You must enter at least one line item for this transaction.",
"o:errorCode": "USER_ERROR"
}
]
}
Does anyone know of a good way to get a more descriptive error message to figure out which fields I might be missing? I verified that this is all the data that is being returned by viewing my integration record’s Execution Logs as wellrico
01/16/2025, 8:49 PMSchwifty
01/30/2025, 2:23 PMManish Kumar Gupta
02/03/2025, 7:08 AMtexmc
02/12/2025, 7:17 PMEmanuel V
02/19/2025, 6:13 AMGavin H
02/19/2025, 4:06 PM{
"type": "<https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.1>",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Error while accessing a resource. You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist.",
"o:errorPath": "item",
"o:errorCode": "USER_ERROR"
}
]
}
My Payload is:
{
"item": {
"items": [
{
"orderLine": 1,
"location": 3
},
{
"orderLine": 2,
"location": 3
}
]
}
}
doing PATCH /itemReceipt/{receiptID}Gavin H
02/19/2025, 4:06 PMHenrik Ulvenäs
03/04/2025, 1:47 PMAnek Porwal
03/04/2025, 7:20 PMJune
03/14/2025, 1:25 PMJeff Greene
03/29/2025, 12:34 AMveenasa garimella
04/10/2025, 1:14 AMdclarke
04/14/2025, 12:16 PMkns25
05/08/2025, 3:53 PMGustavo Matias
05/08/2025, 11:29 PMNadav Julius
05/12/2025, 4:50 PMsuitecore
05/15/2025, 3:25 PMEdgar Valdes
05/20/2025, 4:17 PMfullname
, fullname_2
, fullname_3
, etc.
The second problem with this arises when adding new fields to the Dataset because the API response orders the fields alphabetically. So the previous fullname_2
is now fullname_3
, etc.Aaron McCausland
07/09/2025, 12:08 AM<axis-wsdl2java timeout="360000" output="${generated.src.dir}" verbose="true"
url="${wsdl-1.3.url}" all="true" wrapArrays="true">
But I guess I'm supposed to already understand where that goes. I saw lots of build.xml files in the "samples" folder, but I don't think it was talking about any of those, so maybe it meant the ant-build.xml file? A WinGrep over the various things downloaded for this "quick"-start found ant-build.xml matching that "axis-wsdl2java" in one place. But I can't tell if I'm supposed to add that snippet somewhere (and where to add it) or change the existing one to have those attributes.
Looks like I'm in way over my head. Can I properly learn this stuff without learning all about Java app development first? It seems it would only make me a better developer, but I wonder if I'm starting from the wrong end of the elephant.Luis
07/15/2025, 11:59 AMBrendon Parker
07/17/2025, 2:18 PMal3xicon
07/22/2025, 3:43 PMLivestrong Technologies
08/04/2025, 7:29 PM