You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully used the GET ALL and GET by ID requests, but I am experiencing issues with the POST, PUT, and DELETE requests. When trying to perform a POST request, I encounter the following server error in the query_manager class from the OBASPARQL package, at line 382:
body = body.dict() AttributeError: 'Employee' object has no attribute 'dict'
ents/assets/48431671-3f71-4a83-891a-23c47248c10f)
I would really appreciate any guidance you could provide on this issue. Is there something I might be missing in the request formatting or object definition?
The text was updated successfully, but these errors were encountered:
@tanosk895,
It looks like the resource being posted is not being received appropriately. I do not know what the problem may be in detail, though @mosoriob maybe you know?
Which version are you trying? Maybe give a try to version 3.6.1?
Thank you for your quick response, I am using the latest version 3.6.1
In the post of the generated resource, I am passing a body:
{
“id": ‘12345’,
“hasPhone“: [”123213213"],
“description": null,
“label": null,
“type": null,
“ssn": null
}
I have successfully used the GET ALL and GET by ID requests, but I am experiencing issues with the POST, PUT, and DELETE requests. When trying to perform a POST request, I encounter the following server error in the query_manager class from the OBASPARQL package, at line 382:
body = body.dict() AttributeError: 'Employee' object has no attribute 'dict'
ents/assets/48431671-3f71-4a83-891a-23c47248c10f)
I would really appreciate any guidance you could provide on this issue. Is there something I might be missing in the request formatting or object definition?
The text was updated successfully, but these errors were encountered: