Symptom
During the first login using the Service Layer, you receive a response with an HTTP response code of 500 - Internal Server Error. The second login attempt is successful, returning HTTP response code of 200 - OK.
When retrieving data from User-Defined Tables (UDT) or User-Defined Objects (UDO) through the Service Layer, you encounter an error with an HTTP response code of 400 - Bad Request:
{
"error": {
"code": -1002,
"message": {
"lang": "en-us",
"value": "Service Not Found"
}
}
}
Additionally, when attempting to create a new UDT or UDO using the Service Layer, you receive the following error with an HTTP response code of 400 - Bad Request:
{
"error": {
"code": "-1017",
"details": [
{
"code": "",
"message": ""
}
],
"message": "Property '<property name>' of '<UDO or UDT name>' (maybe UDO or UDT) is invalid(property name same as object name) "
}
}
Read more...
Environment
- SAP Business One
- SAP Business One, version for SAP HANA
Product
Keywords
KBA , sdk , SBO-SDK-SVL , Service Layer , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview