API Connect

 View Only
  • 1.  CORS error on developer portal

    Posted Wed February 16, 2022 04:15 AM
    Hi,

    We are facing CORS error while testing APIs on developer portal and explorer in API Manager (APIC V10) but with same endpoint URL APIs are working on postman.

    ------------------------------
    Suraj Sakpal
    ------------------------------


  • 2.  RE: CORS error on developer portal

    Posted Thu February 17, 2022 03:39 AM
    Postman isn't a web application and so won't do CORS.
    As the message on the screen will be telling you - you need to accept the certificate your gateway is using before CORS will be processed correctly by the browser.

    CORS is not something we have any control over - its part of the browser security framework.

    Also make sure your API has CORS enabled in it, and you do not have any OPTIONS methods in your API as they will conflict.

    ------------------------------
    Chris Dudley
    ------------------------------



  • 3.  RE: CORS error on developer portal

    Posted Sat February 19, 2022 01:22 AM
    Edited by kandula nagababu Sat February 19, 2022 01:24 AM
    Hi

    Can you please disable the cores and test once.

    Are you facing this issue for only one API or All the API's?

    Please let me know status here.

    ------------------------------
    kandula nagababu
    ------------------------------



  • 4.  RE: CORS error on developer portal

    Posted Sat February 19, 2022 01:43 AM
    We are facing this issue for all the API's.

    ------------------------------
    Suraj Sakpal
    ------------------------------



  • 5.  RE: CORS error on developer portal
    Best Answer

    Posted Sat February 19, 2022 02:41 AM
    Edited by Jina K Fri September 02, 2022 11:08 AM
    Hi, 

    After opening the APIConnect assemble section top right preferences option is there,
    In APIC v10 default settings was sandbox, you need to change as your preferred catalog.

    ------------------------------
    kandula nagababu
    ------------------------------