REST API Only Returns - 400 Bad Request - on Errors
I am rewriting some scanner firmware to utilize the REST API. Everything works as expected, but if I "Throw an Error" the API only responds with a generic "400 Bad Request" rather than the specific errors related to the service end point. An example would be the "POST" using the Nodes endpoint (Creating a Folder). If it already exists I would expect to see "400 An item with the name '{name}' already exists." but all I get is 400 Bad Request. Any ideas?
Comments
-
Unfortuntely i dont have a response as to why but i noticed this happened very recently aswell. A few weeks ago i am certain i was getting responses for naming duplicates but now i do not and just get Bad Request. I don't even know how this has occured since i dont recall any API update.
0 -
If you are using IIS, then the configuration may have changed to not report detailed errors to the client.
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management