403 Cors error in Pega Constellation React SDK Mediaco Application

Hi team,

im working on Pega Constellation where i have imported pega react SDK Mediaco Package and Configured React also but problem is im able to created cases using DXAPI but getting error for clicking submit button

same request i checked in postman for that but when i give header “access-control-request-method” : PATCH then preflight is getting 403 error but if i just replace it with post im getting 200 response

But in CORS rule i Provided allowed headers for patch and here when i remove check box for get ,post and tried then also its giving 200 response so beyond CORS rule do we have any other option for permissions of methods in pega? i think maybe its not responsible for methods permissions

Hello @RaviS17670617 , Welcome to the community :slight_smile:

You can refer to the below posts and pega doc links for more details,

If you still have any issues or queries, you can post here and we can provide suggestions

Regards

JC

Hello @JayachandraSiddipeta Thanks for references

i have configured same as mentioned in documentation

postman api hits:

when im using patch then its giving 403 error for “access-control-request-method” but if i use put then im able to see 200

EDIT:

when i configured sdk in community edition its working fine

header for localhost

here im getting response without patch in my local host.

header for community edition

but same api gives patch in community edition as response header in preflight