API does not seem to be able to detect projects

  • 73 Views
  • Last Post 4 weeks ago
  • Topic Is Solved
Yehuda Goldenberg posted this 17 April 2018

I am trying to open a project using the OpenProject api method. I'm using SoapUI to test.

No matter what I put for projectNameOrGuid, I always get a result of 0.

Also, when I try the GetProjects api method, it returns an empty result.

I am connecting to a server running FC12 Distributed with one project uploaded to the server.

I am able to upload documents to the project using the full scanning station application, and I see the documents in the monitoring console.

I'm not sure what other information is needed to troubleshoot this.

Order By: Standard | Newest | Votes
AlexeyEfremov posted this 4 weeks ago

Hello,

First, are you sure you have opened the session before using any methods? For example see the article:

Application Programming Interface (API) > Using the Web Services API of the ABBYY FlexiCapture Application Server > Scanning documents

of the Developer's Help file.

Second, please check that you are using the correct Project Id (Guid). You can see your project Id in the Administration and monitoring console > Settings > Projects

If this is not the case here, please provide us Fiddler logs during the time when the issue happens.

Also please let us know your FC12 exact version. (Project Setup Station > Help > About)

Yours sincerely,

Alexey

 

 

 

 

Yehuda Goldenberg posted this 4 weeks ago

I got past this issue with the help of an Abbyy engineer.

In the end what seems to have made the difference was selecting the correct role when opening the session.

I tested all of the roles using the GetProjectsForUser api call. Here are the results:

 

 

 

However, I still am not able to successfully do the next step in the documentation you mentioned (AddNewBatch). I'm going to open a new discussion for this and provide more details.

Yehuda Goldenberg posted this 4 weeks ago

See http://www.capturedocs.com/thread/addnewbatch-fails-with-generic-error-message for the issue with AddNewBatch.

Close