Error when creating AP invoice batch in OpenScript using load Protocol

In the script step:
“Move window("NAVIGATOR") (68,77)"
The following error is received:
"Failed to read message from server. Caused by: java.io.IOException occurred. Error Message: null”
This occurs in OpenScript for both 9.1 and 9.2 and in our R12 test instance. Customizations do not appear to matter. The problem occurs in seeded forms as well. This function runs fine outside of OATS.
AP script works in functional protocol in 9.1, but not in 9.2 because of a different error that says the 1.1.7 java.exe is missing.
Any thoughts or suggestions?
Thanks,
David

We opened an SR with Oracle and it turns out this is a bug with OATS and 12.1.3. We received a jar file/patch from Oracle development for a quick fix. The fix is built on top of ATS version 9.20.0370. This patch fixed the issue.
Thanks to those that replied to my call for help.
Sincerely,
David
SR 3-2425334291: OpenScript Error: java.io.IOException occurred
File name: oracle.oats.scripting.modules.formsLT.api_2.5.0.0370.jar
Edited by: David G. on Dec 9, 2010 11:20 AM

Similar Messages

  • Error when create a Payment Batch

    When I create a payment batch, I fill batch name as LIPPO_X123. then I entry bank account name "LIPPO Branch JKT1". But when I want to choose "Document" by clicking the list combo appear message "FRM40502:Oracle error : unable to read list of value"
    When I click "Details..." this message appears :
    FRM-40502: ORACLE error: unable to read list of values.
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "APPS.AP_AUTO_PAYMENT_PKG", line 679
    "

    Check Note: 234846.1 - APXPAWKB Errors With ORA-01422 ORA-06512 FRM-40502 When Creating A New Batch After Navigating To The Document Field
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=234846.1

  • Error when Creating Excise Invoice

    I am getting error that Maintan  customizing setting For automatic utilization  when Creating Excise Invocie through. J1iin. I Maintained Number Ranges for RG1 Register for My Excise Grp 78.
    But the number ranges i Maintained is not used . I will be thank ful  if anyone resolve this issue.
    Regards
    Madhav

    Dear sir
    Check for your series group have you clicked immediate  utilization indicator.
    Spro-img-Logistics u2013 General-Tax on Goods Movements-India-Basic Settings-Maintain Series Groups.
    If it is clicked immediate utilization will take place. To do automatic utilization following setting to be done.
    Spro-img-Logistics u2013 General-Tax on Goods Movements-India- Utilization- Utilization Determination.
    Here for your excise group you have to maintain.
    Ex group       ACC account                       BED %
    E1     PLAAED PLA AED account                                          50
    E1     PLABED PLA BED account                                          50
    E1     PLASED PLA SED account                                          50
    E1     RG23AAED RG 23A AED account                         50
    E1     RG23ABED RG 23A BED account                          50
    E1     RG23ASED RG 23A SED account                          50 .
    If you donu2019t want to do automatic utilization , unclick the  immediate utilization for your series group.
    Regards
    jrp

  • Error when creating an Invoice

    Hi guys,
    we have the following problem:
    By creating an Invoice (for a Delivery), we've got following error:
    00063788419 000001 Material 123456789, Serialno 0000000000000999999 is blocked by User X005050.
    And the delivery position can't be read for the invoice.
    Regards,
    David

    Hello David
    1) It is possible that user X005050 is in change mode  in transaction ' Change Material Serial Number'  ( T Code IQ02) for Material 123456789 and Serial Number 0000000000000999999, so ask him/her to come out of that.
    2) Though user is not in that transaction any more, there may be a system lock entry for that user. Seek Basis help or use T code SM12 to remove the locked entries for that user. Sometimes locked entries will go away, if user logs out for sometime.
    Hope this helps.

  • Error When Creating OR Rebuilding Oracle Text index using Lexer Keyword

    Hi All,
    I am getting following error when i creating oracle text index using lexer & stoplist keyword.
    Pls Help me if any body know.
    Thanks in Advance.
    Error starting at line 1 in command:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    Error at Command Line:1 Column:13
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-11000: invalid keyword LEXER
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
    29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    Regards,
    Jack R.

    Hi,
    it works if you put an extra PARAMETERS clause at the end so the creation looks like:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
    Hope this helps
    Herald ten Dam

  • Error when creating record from portal into MDM using MDM API's

    Hi All,
    When trying to create a new record from Portal we are getting the below error. It is working fine till yesterday.
    We are using MDM API's from webdynpro java for creating.
    What could be the reason for this. Not sure whether this error is ocuring for all the users or for single user.
    "Exception: CommandException com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Database command execution error. A SQL statement failed to execute. The actual error may have been written to a log file."
    Please help to resovle this.
    Thanks
    Satish

    Hello Satish
    Suppose your Portal was upgrated
    if it right -  search and deploy new mdm packages
    Regards
    Kanstantsin

  • Error when creating a folder ,iviews in the portal

    Dear sap gurus ,
    I m facing a error when  creating a   Folder or an iview in my portal i'm using EP 7.0 sp11 ,The error is :
    Portal Runtime Error
    An exception occurred while processing a request for :
    <b>iView : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.defaultFolderWizard
    Component Name : com.sap.portal.admin.defaultwizards.DefaultFolderWizard
    SQLException is not transient, error code = 1654, sql state = 72000 Batch rolled back. Caused by java.sql.BatchUpdateException: ORA-01654: unable to extend index SAPSR3DB.SYS_C004057 by 128 in tablespace PSAPSR3DB at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343) at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10698) at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeBatch(BasicPreparedStatement.java:263) at com.sap.sql.jdbc.oracle.Oracle10gPreparedStatement.executeBatch(Oracle10gPreparedStatement.java:100) at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeBatch(DirectPreparedStatement.java:1129) at com.sap.sql.jdbc.common.CommonPreparedStatement.executeBatch(CommonPreparedStatement.java:991) at com.sap.engine.services.dbpool.wrappers.StatementWrapper.executeBatch(StatementWrapper.java:270) at com.sapportals.portal.pcd.pl.AttributeHeadersTable.insert(AttributeHeadersTable.java:259) at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:518) at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:544) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildOnPersistence(XfsContext.java:1374) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildAndNotify(XfsContext.java:1128) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChild(XfsContext.java:1087) at com.sapportals.portal.pcd.gl.xfs.XfsContext.createSubcontext(XfsContext.java:843) at com.sapportals.portal.pcd.gl.xfs.BasicContext.createBasicSubcontext(BasicContext.java:190) at com.sapportals.portal.pcd.gl.PcdPersContext.createSubcontext(PcdPersContext.java:191) at com.sapportals.portal.pcd.gl.PcdFilterContext.filterCreateSubcontext(PcdFilterContext.java:254) at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:147) at com.sapportals.portal.pcd.gl.PcdGlContext.createSubcontext(PcdGlContext.java:440) at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:624) at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:619) at com.sap.portal.admin.wizard.folderwizardpanes.SavePane.doAfterSubmit(SavePane.java:59) at com.sapportals.admin.wizardframework.core.WizardInstance.doPost(WizardInstance.java:356) at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:174) at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:99) at com.sapportals.admin.wizardframework.AbstractDynamicWizard.doContent(AbstractDynamicWizard.java:98) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) .
    Exception id: 10:50_23/11/07_0005_16892850
    See the details for the exception ID in the log file</b>
    Thanks and Regards,
    sathya

    Hi Sathya
    The following line in your log tells you what is wrong:
    ORA-01654: unable to extend index SAPSR3DB.SYS_C004057 by 128 in tablespace PSAPSR3DB
    This is a configuration that you or the dba people need to do. The first thing I would check is if autoextend is on/off on your tablespace PSAPSR3DB. If it's 'off' you either need to put it to 'on' or manually extend the size of your tablespace depending on how much harddrvive space you have to play with. Here is a more detailed solution on how to do it:
    Oracle Error : ORA-01654: unable to extend index string.string by string in tablespace string
    Cause: Failed to allocate an extent of the required number of blocks for an index segment in the tablespace indicated.
    Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the tablespace indicated.
    Br
    Göran

  • Tax error when posting vendor invoice

    Dear Friends ,
    I am posting this 3rd time, I am geting this error when poatin vendor invoice , I am geting this error in production system before GOLIVE ,when we are doing live data entry test . All the seting related to taxes has been testing more than 10times , But we are unable to find the problem . We had checked with all past messages and best possible solution in SDN ......but problem is not solved . Said error is as follows ....
    Tax code V0 country IN does not exist in procedure TAXINN
    Message no. FF713
    Diagnosis
    You entered a tax code which is not defined for the country of the company code to be posted to in the tax calculation procedure.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    Check whether the company code is assigned to the correct country and whether the correct tax calculation procedure has been entered for the company code country.
    Create a new tax code if necessary.
    Caution:
    Since it is possible that the tables in question are being updated at a different time on another computer, it can take a certain amount of time for the tax code to be on all local machines in client server architectures after saving the new code.
    Raghu

    hi
    go to ftxp choose tax code v0
    here in first input field give 00
    then select that field and click on gl acct tab
    here mention a gl or go to ob40 and mention gl for the acct key of that field
    try finding
    Tax code country IN does not exist in procedure TAXINN
    on SDN u will get many threads
    Tax code XX country IN does not exist in procedure TAXINN (MIRO Error)
    conclusion is u must get acct for at least one condition in the tax code
    regrads
    kunal
    award if helpful

  • 8I 681 Error While Creating Excise Invoice

    Dear All,
                Am getting error 8I 681 error while creating excise invoice,when i analysed since in the document flow the delivery document is not there, only J delivery will be allowed in creating excise invoice.
    Our client wants item level milestone,so in oder to activate that i have assigned the billing plan in the item category.But when i assighn the billing plan the system will not allow to put the billing relavance delivery relavant.So i made oder relavan in the billing relavance.So i create an oder and with that reference delivery.But when i create billing i have to refer the oder number,since in the item ctegory i have made oder relavant billing.So the result is in the billing document flow the delivery document is not flowing.Henceforth i could not be able to create J1IN.
    But this was not happening in the sand box,but only in the quality since it is superior.when we debugged we found only J(Delivery) is allowed to create excise invoice.
    Please help me to solve this issue,is there any possiblity to make the delivery document flow in the billing document.If it is done it 100%possible to create the excise invoice.
    Please share your ideas to solve this issue.....
    Best Regards,
    Venugopal

    Dear Lakshmi,
                         Thanks for your Prompt reply...
    In our case delivery is there,but when we create the invoice the delivery document is not flowing,since in the itemcategory oder relavant billing.We have billing milestone at the item level,for activating that i have to make the billing relavance as I.Other wise the system is not allowing me to select delivery relavant and billing plan.Please help me to make the delivery document flow in the billing document.Then this 8I error will be solved.
    I have alsochecked the update document flow,everything is perfect.
    Regards,
    Venugopal

  • Error when creating Delivery

    Hi experts,
         I've received an error when creating Delivery from AR Reserve Invoice :
    [Delivery - Rows - Warehouse Code][line: 0] , 'No matching records found  '' (CRD1) (ODBC -2028)'  [Message 131-183]
    Don't know what is this, but some of the transaction in Delivery from AR Reserve invoice I mean no error.
    Regards,

    HI,
    Pl. check the links of BP Master.
    Set Bill to and ship to address manually for the Business Partner and set the new address as default .
    Also check the settings of Items Default warehouse Etc.
    Hope Helpful!!!

  • Error when creating billing / accounting document with VF01

    Hi All,
    When I use VF01 to create an invoice with reference to a LF D/N, I got the following error after saving.
    "An exchange rate type is not defined for country CN
    Message no. FF 802". And billing document is created but with no accounting document.
    I checked the exchange rate type is defined. but I can not find the place where I can assign to the specific country.
    Best Regards
    Jean

    Thanks for your help.
    Hi Dave,
    I checked in S_BCE_68000174, it has been already assigned.
    Hi Ferry,
    In FTXP, the tax code has been maintained.
    And you are right, when I maintain the field KURST in table T005, it is ok. But I am confused in 4.6C, the field KURST can be maintained by T-code OY01, but in 470, exchange rate type cannot be found in OY01. Where can I set in 470?  And why in 470, even field KURST is empty in table T005, but there is no such error when creating billing document?
    Many Thanks
    Jean

  • Error when creating index with parallel option on very large table

    I am getting a
    "7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
    error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
    Version 10.2.0.4
    O/S Linux
    As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?

    This is most certainly a bug.
    From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1

  • Error while creating Excise Invoice

    Hi All,
    Can any one help me on CIN?
    I am getting one error while creating "Excise Invoice [T.code J1ILN]" i.e. "System failure during locking GL account Cocode by 13113910"
    Regards
    Chowdary

    Dear Raghavendra
    Please make a try with the following but I am not sure whether it will solve your problem.
    Go to FS00, give the G/L account which has the problem and select "Control Data" tab.  Here punch as asterisk in the field "Tax category" and save.
    Now try to create the excise invoice.
    Thanks
    G. Lakshmipathi

  • Vehicle Scheduling Error:Error when creating transport structures in live C

    HI Gurus,
    We have one background job defined for Vehicle scheduling, which shows completed successfully but in log it says that :
    : Error when creating transport structures in liveCache and Not possible to schedule shipment in the planning horizon.
    My planning horizon is for 90 days from current date and demand horizon is for 30 days.
    I have checked the VS profile and i dont find any problem with profile.
    Can you please help me in finding what exaclty went wrong
    Thanks,
    AMol

    Try This..
    1. Open the crystal client on your local machine and import that particular report.
    2. Do Database -> Verify Database. Then refresh the report on your PC and make sure that it returns data as expected.
    3. Export it back to repository and try scheduling it again. You can verify through CMC for Crystal Reports under " Database Configuration" property to make sure it points to the right ODBC.
    Let us know.

  • Error when creating a FDM application on SQL Server 2005

    Hi,
    we are getting this error when creating a FDM application on SQL Server 2005
    Error: EPMCSS-07003: Failed to validate identity. Invalid identity . Check identity.[SET_ROLES_LIST]
    We are using Windows System Integration although we have also tested with sa user.
    Any ideas?
    Thanks

    Based on the error message it appears to be having a Shared Services issue. Verify that the "ADMIN" account is being used for the HSS connection and that you are using "ADMIN" to create the application and see if the same error is returned.

Maybe you are looking for