• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

API Error Encountered

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • API Error Encountered

    Hello,

    We have an application that was created in Nitro that is throwing error "API Error Encountered: XXXXXX". XXXXXX is not the real program name. The app calls two SQLRPGLE programs.

    Program A is called via app startup. It is built using the EXNABSTART template.
    program B is called in the app behaviors. It is built using the EXNABBTN template

    Both programs run on our test system without error.

    On our production system the startup program (A) sometimes runs without throwing the API error.

    On our production system program (B) seems to always throw the API error.

    Both programs return data to a grid widget

    In NAB We have increased the timeout feature from 30 to 90 seconds on program B. Upon clicking the refresh button that triggers the execution of program B, the app refresh runs for about 28 seconds then throws the error.

    I looked at the portal admin > settings > Nitro App Builder (Date source timeout setting) it is set to 30 seconds. I think this would pertain to program A.

    We restarted the Valence subsystem on the production AS400.

    We checked the valence subsystem job log for the job that executes when the app is executed with the refresh button (program B) executing and did not find any errors there.

    We checked the Valence error log and did not find any errors there.

    We would appreciate your advise and guidance on how to resolve this problem.

    Larry


  • #2
    Hi Larry -

    Please reach out to support@cnxcorp.com and we can schedule an online meeting to take a closer look.

    Comment


    • #3
      Hello Sean,

      Per the discussion from our online meeting we added a logical file which reduce the run time of one of the SQL statement for the record deletion operation on one of the work files. We have not decided what to do about possibly improving the response time by reengineering some of the other SQL statements in the file build programs.

      Thank you again for your team's assistance on this application.

      Comment

      Working...
      X